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