private void CheckClicks() { if (Input.GetButtonDown("Fire1")) { gridController.SelectBlock(GetMouseWorldPosition()); } else if (Input.GetButton("Fire1")) { gridController.DragBlock(GetMouseWorldPosition()); } else if (Input.GetButtonUp("Fire1")) { gridController.DeselectBlock(); } }