playMaker

Author Topic: [Solved]How to erase a Gui text ?  (Read 1835 times)

stigma

  • Full Member
  • ***
  • Posts: 177
[Solved]How to erase a Gui text ?
« 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.
« Last Edit: January 17, 2017, 03:38:16 AM by stigma »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to erase a Gui text ?
« Reply #1 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

stigma

  • Full Member
  • ***
  • Posts: 177
Re: How to erase a Gui text ?
« Reply #2 on: January 17, 2017, 03:37:55 AM »
Merci Jean !