Exemplo n.º 1
0
 void OnMouseDown()
 {
     //a simple listener for buttons - transfers the name of the object to guimanager.action
     SGUI.Action(this.gameObject.name);
 }