Exemplo n.º 1
0
 void CheckClicks()
 {
     if (Input.GetMouseButtonDown(0) && currentlyTargeted != null)
     {
         currentlyTargeted.Activated();
     }
     if (Input.GetMouseButtonDown(1) && currentlyTargeted != null)
     {
         currentlyTargeted.AltActivated();
     }
 }