playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Set Visibility of GUI elements created by actions
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Set Visibility of GUI elements created by actions (Read 2563 times)
michela
Playmaker Newbie
Posts: 4
Set Visibility of GUI elements created by actions
«
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
Logged
Alex Chouls
Administrator
Hero Member
Posts: 4002
Official Playmaker Support
Re: Set Visibility of GUI elements created by actions
«
Reply #1 on:
November 30, 2011, 04:11:08 PM »
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Set Visibility of GUI elements created by actions