public void OnReachedExit() { }
/// <summary> /// Called when the player reaches the level's exit. /// </summary> private void OnExitReached() { Player.OnReachedExit(); exitReachedSound.Play(); if (gems.Count == 0) { reachedExit = true; } }