Пример #1
0
 // send mouse down to manager
 void OnMouseDown()
 {
     if (isTargetObject)
     {
         mScriptManager.TargetHit(gameObject);
     }
     else
     {
         mScriptManager.ObjectHit(gameObject);
     }
 }