Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: michela on November 28, 2011, 05:03:40 PM
-
Hi
I've got a State using Draw Texture and GUI Label. What is the recommended way to hide GUI elements? I don't want to deactivate the game object itself which would lose my state info, going back to Start State.
I've tried using Set Visibility but this doesn't appear to be designed for GUI control - given the error "Game Object requires Renderer Component"
Any suggestions?
Michela
-
Create a new state (e.g. GUI Off) that doesn't have those actions, then transition to this state when you want to turn those GUI elements off.
If you want to turn the whole GUI on/off, take a look at the Enable GUI action.