示例#1
0
 private void OnPlayerExit(PlayerReachedExit data)
 {
     Debug.Log("You have reached the EXIT!");
     turnState = TurnState.NULL;
     OnTurnChange.newTurnState = turnState;
     OnTurnChange.FireEvent();
 }
示例#2
0
    private void OnPlayerExit(PlayerReachedExit data)
    {
        // Player reached exit.. advance level
        Level++;
        ClearLevel(false);

        TurnManager.instance.Restart();
    }