Remove... Using unity engine at the begining
Remove ... Class xample : mono behavior {}
Change the declaration to :
private var string[] cheat code;
private var index : int;
Instead of all " void" before functions replace with " function".
Rest of the code you posted doesn't seem to require change.
Red.
↧