- Home /
Question by
Vincenzo Albery · Jul 16, 2010 at 06:03 PM ·
guicharacterclicked
Object Creation with GUI Button.
Hello Everybody,
I need small help from you... I have a gui button and i want create a box when i clicked this gui button...
if (GUI.Button (Rect (20,720,80,20), "Ofansif")) {}
I wait your helps
Regards Vincenzo
Comment
Best Answer
Answer by kilgore · Jul 16, 2010 at 06:18 PM
There are examples on this page that directly correlate to your question. You should find everything you want to know about created objects.
http://unity3d.com/support/documentation/ScriptReference/Object.Instantiate.html