Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: stigma on January 16, 2017, 05:23:56 AM

Title: [Solved]How to erase a Gui text ?
Post by: stigma on January 16, 2017, 05:23:56 AM
Hi,
I display a text at the top of the screen when I select another camera.
But when I return to the main camera, the text is always displayed.
I tried to display a blank in place of the text but with no result.
How to delete this text? Thank you very much.
(http://www.maximages.fr/forums/3D/playmaker/guilayout.png)
Title: Re: How to erase a Gui text ?
Post by: jeanfabre on January 17, 2017, 12:53:56 AM
Hi,

 You can't, you would need to move to another state where this label is not defined, or else, have a string variable with an empty string that you use as the label.

I strongly recommend using the new Unity UI instead of the old one. you'll have a much better system to work with.

Bye,

 Jean
Title: Re: How to erase a Gui text ?
Post by: stigma on January 17, 2017, 03:37:55 AM
Merci Jean !