Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: tinjaw on March 12, 2015, 12:30:03 PM

Title: Get Transform Not Seeing Object Variable
Post by: tinjaw on March 12, 2015, 12:30:03 PM
I have added a GameObject|Get Transform action and a variable of type Object to a FSM. I attempt to set the Store Transform parameter, but only None is showing; the variable of type Object is not showing as a choice.

Unity 5.0.0f4
Playmaker 1.7.8.1
Title: Re: Get Transform Not Seeing Object Variable
Post by: Lane on March 12, 2015, 12:58:03 PM
Are you trying to use the object type in the variable list? There is a transform variable type. If you want to use the object type you need to set the type of object that variable represents, in your case unityengine.transform.

You can set the type of object variables in the variable list when it is selected.
Title: Re: Get Transform Not Seeing Object Variable
Post by: tinjaw on March 12, 2015, 01:46:27 PM
Thanks. I didn't realize I had to set the type of object it was. I was going to fast and looked past it.