'stateArray' is un-typed, so Unity assumes it is an array of Objects. Your line 39 grabs one of the Objects and says it's a String, which the compiler correctly tells you is an implicit downcast. You probably want to use `#pragma strict` (which all scripts have out of the box) to help remind you to type your objects correctly.
↧