Пример #1
0
 void DetectInput()
 {
     if (Input.GetMouseButtonDown(0))
     {
         currentBox.DropBox();
     }
 }
 void DetectInput()
 {
     if (Input.anyKeyDown)
     {
         currentBox.DropBox();
     }
 }
Пример #3
0
 void DetectInput()
 {
     //detect touch or click
     if (Input.GetMouseButtonDown(0))
     {
         currentBox.DropBox();
     }
 }
Пример #4
0
 void DetectInput()
 {
     // drop the box on click
     if (Input.GetMouseButtonDown(0))
     {
         currentBox.DropBox();
     }
 }
Пример #5
0
 void DetectInput()
 {
     if (Input.GetMouseButtonDown(0))
     {
         currentBox.DropBox();
         MoveCamera();
         counterPlayerDropBoxUI++;
         textCounterUI.printCounterUI();
     }
 }
Пример #6
0
 void DetectInput()
 {
     if (Input.GetMouseButtonDown(0))
     {
         if ((Input.mousePosition.y <= 1600) && (ScreenSwitcher.GameIsPaused == false))
         {
             currentBox.DropBox();
         }
     }
 }