Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: zeiteisen on July 12, 2015, 07:11:38 AM
-
Hello everyone,
As for my understanding are there 2 variable scopes. One variable is visible inside the FSM and another visible global. Is there support for a variable that is accessible within the same prefab or component hierarchy?
Its because I need to store a gameobject when enter a trigger and use this gameobject in another FSM but it can't be global, because than every copy uses this stored gameobject.
-
Hello ,
You can use get fsm variable action to get a variable on another game object or fsm.
I hope this helps.
-
Thank you, that does the trick!