Пример #1
0
 void OnMouseOver()
 {
     if (Input.GetMouseButtonDown(1))
     {
         meInputManager.OnUnitDown(myHex);
     }
 }
Пример #2
0
 void OnMouseOver()
 {
     if (Input.GetMouseButtonDown(1))
     {
         inputManager.OnUnitDown(hexEntry);
     }
     if (Input.GetMouseButton(4))
     {
         inputManager.OnHexMouseFour(hexEntry);
     }
 }