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