Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: kyy921 on May 29, 2012, 02:06:49 AM
-
it seen that using set property cannot change ngui's sprite color, is that some way to change it??
-
What version of Playmaker are you using? I just tested with 1.4.1 and I could set the sprite color using the color property under inherited...
-
.... you right... I use to think the inherited item cannot work for ngui.........
thank you! :)
-
I am not seeing the "color" underneath the "Inherited" option... am I missing something?
-
Nevermind, I found out what I was doing wrong. Its not the gameobject you drag and drop, but the component of the gameobject.
HOWEVER, I am now running into another problem. When I set the property color to a variable "theColor" in the Set Property action, it doesn't stay set when I play and pause the game. It sets the color property value back to "None" as if I haven't set it.
Any ideas on why my variable keeps getting reset right when I start playing and stopping my game in the Unity Editor?