|
how can I destroy (permanantly in game...but not in the Hieriachy) my GUI after pressed? my button script is var apple : GameObject; function OnGUI() { if ( GUILayout.Button( "Destroy Cube") ) { Destroy( apple ); } }
(comments are locked)
|
I can't tell if darkcookie is serious or not. I would have typed this out, but it's like.. like he wins if we give in.
Jun 17 '11 at 04:25 AM
flaviusxvii
(comments are locked)
|
|
thank you so much:) For the love of all that is good in this world STOP using answers as comments!
Jun 17 '11 at 04:24 AM
flaviusxvii
(comments are locked)
|

You want the button to disappear after you click it?
yes:))))))