Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: cdutoit on September 02, 2013, 10:00:25 AM
-
Hi - Complete newbie question here.
I have a gameobject. Attached to this gameobject is a script, which simply defines a number of public variables so that can be accessed and set in the Inspector window.
Now, in my FSM, I want to set/get a value of one of those attributes on my game object.
What is the proper way of achieving that?
Thanks in advance
Chris
-
Hi,
If you don't have any actions or custom actions to access these variables somehow, then you can use "set property" action, ( simply drag a component onto the action stack and it will let you select it, and then it will give you the whole list of possible properties to set.
bye,
Jean