Platformer.Player.OnReachedExit C# (CSharp) Method

OnReachedExit() public method

Called when this player reaches the level's exit.
public OnReachedExit ( ) : void
return void
        public void OnReachedExit()
        {
        }

Usage Example

示例#1
0
 /// <summary>
 /// Called when the player reaches the level's exit.
 /// </summary>
 private void OnExitReached()
 {
     Player.OnReachedExit();
     exitReachedSound.Play();
     if (gems.Count == 0)
     {
         reachedExit = true;
     }
 }
All Usage Examples Of Platformer.Player::OnReachedExit