void Update() { if (mov.inGame) { return; } if (Input.GetKey(KeyCode.Space)) { player.isKinematic = false; mov.inGame = true; tapText.gameObject.SetActive(false); mov.Start(); } }