Question by
Jacob_Anthony · Feb 04, 2017 at 02:19 PM ·
errorarraysindex
C# array error index is zero but when i try to assign it to variable it suddenly change to 3
when i try to assign index of gameobject to variable it change to 3 but its 0. Even in inspector index is zero. I assign index like this :mid = System.Array.IndexOf(master.enemyb, gameObject);
Comment