private void Update() { // Debug controls if (Input.GetMouseButtonDown(0) && state == States.PreMove) { gameSetter.MovePiece(false); } }