#Need to explicitly convert

1 messages · Page 1 of 1 (latest)

urban path
#

hey I'm still a bit confused on this issue

#

sorry I'm kinda bad with types and stuff

#

changes = new List<GameObject> (GameObject.FindGameObjectsWithTag("change")).ToList();

#

is that not correct?

#

@solid solstice

solid solstice
#

Remove the ToList stuff

#

Find returns an array already.

#

And the List constructor takes an IEnumerable .. which is what an array is.

urban path
#

wow its so close to working

#

but I just can't seem to change the color of the object back to its original color