Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: fromfame on March 12, 2013, 12:31:45 PM
-
Hey im fairly new,
so this thing is all about having a convo with an NPC.
im using NGUI from the asset store for generating my GUI,
you can probably tell whats going on down below, GUI's visibility isnt being toggled when the player enters the BOX trigger.
I've tested it on the sphere it works perfectly, i tried using the "Set GUI Alpha" action tho im not sure where i'm going with that, anyone can supply me with a detailed answer please?
thanks guys!
-
I do not know exactly how this certain "Set GUI Alpha"-Action works, but you can try something different, especially when you work with nGUI.
Acess the UISprite-Component by "Set Property"-Action and access the Color-Property and select the Alpha (Color.a), and set it to 0. At least, that's how i do it.
Of course, if someone knows another (better!) way to solve that, feel free to correct me/ comment! :)
-
Hi,
"Set Gui alpha" playmaker action only controls Unity GUI system, not NGUI.
Mayhem solution is good. Also spend time learning ngui, it features A LOT of component and behavior already meant to let you control things like that.
bye,
Jean
-
Awesome, Thanks guys!