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

There are examples on this page that directly correlate to your question. You should find everything you want to know about created objects.