How can I edit a Label

Hi, i have a problem.

I have 4 figures. Each name i have on a different label on GUI. But when i click on one figure like: “Sphere”, it disappear and i need to the name “Sphere” disappear on the GUI list too.

How can i edit this label. Or have i to do a different thing?

:wink:
Thanks

you have boolean variables that are set to true at start and as soon as the corresponding object is gone, are set to false. Then you just check that and if it is true, you show the label, otherwise not.

alternatively you have gameobject / transform references where you check the enabled property the same way as above bollean (its a boolean too)

there is no “appear / disappear” in the gui generally. Either you draw it this frame or you don’t, that will make it appear or disappear.

thank you, i will try!!

:lol: