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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…