From what I have read this is how a vector "Size" is set
public Color[] teamAColors = new Color[4];
But when the code is run it looks like this
It doesn't seem to matter what number I put for the [4], the Size always stays 6. I am not sure where the 6 number is even coming from as I have not set anything to that number.
I have even tried to
public Color[] teamAColors;
And then let my array auto populate the Length, but that doesn't change the 6 either.
Try hitting 'Reset' from the gear-button on the component. It will reset all filled entries, but it should remove the cached size.
I hope that helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With