Assets/Main_02.js(28,44): BCE0017: The best overload for the method ‘UnityEngine.GameObject.Find(String)’ is not compatible with the argument list ‘(int)’.
meaning its still putting in an integer, int.
Could someone please look at my code bellow and tell me whats wrong with it, its probably something realy stupid but i’d be realy grateful, Thank You.
var Y = new Array();
var i:int = 1;
x = i;
var other = GameObject.Find(x);