Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MrAdventure on February 12, 2014, 02:34:38 PM
-
Hi there,
How do I get the string name of a Texture variable on an FSM? The texture is assigned in the inspector.
Thanks?
Victor
-
I couldn't figure out a quick way to do it, so I just edited the GetFsmTexture action to return the name into a string. File attached.
If the texture is in a variable in the Editor you can just grab it from there. Is that the case or is it in the regular Unity Inspector? If so, is it in a Material?
-
That worked like a charm, thanks!