Hi,
i know this topic has been discussed before, but i cannot find the syntax to achieve this.
In a js I have a string which change in a "for in" loop. I'd like to instantiate a prefab (with an FSM on it) on each loop and send the string of that loop at the created Instance.
basically:
Javascript:
loop > instantiate a prefab with FSM > send "string1" to FSM
loop > instantiate a prefab with FSM > send "string2" to FSM
...
Is it possible?
thx