void OnMouseUp() { if (MyGameManager.gamestate != GameState.Play) { return; } bHoldBall = false; // we test lifted position Vector3 temppos = MyGameManager.CheckNewPosition(PickedPos, I, J, Key); if (temppos.x > -90f) { targetPos = temppos; targetPos.y = Zelev; } //PickedPos.y = Zelev; StartCoroutine(DropPawn()); if (MyGameManager.IsGameOver()) { label.text = "GAME OVER!!"; } }