public override IEnumerator Enter() { if (OnPlayerTurn != null) { OnPlayerTurn(); } if (touchHandler == null) { touchHandler = new TouchHandler(); } MatchManager.startTimer = true; MatchManager.SetCamera(); if (MatchManager.AreAllBallsInHole()) { MatchManager.Instance.NextHole(); return(base.Enter()); } if (MatchManager.GetCurrentPlayer().AreAllBallsInHole()) { MatchManager.ChangePlayer(); MatchManager.SetState(new PlayerTurn(MatchManager)); } return(base.Enter()); }