First I create the Vector3:
Vector3[] foo = {
1, 2, 3
}
Later in my code, I need to add a new item to foo
, but I can't find a way to do this.
I have tried foo.Add(4)
, but I get the error:
Vector3 does not contain a definition for Add
I want foo to end up as 1, 2, 3, 4