Exemple #1
0
    IEnumerator StartLevel()
    {
        yield return(new WaitForEndOfFrame());

        level.Init();
        level.LoadLevel();
        player.transform.position = level.GetStartPos();
        player.StartGame();
        player.SetMoveType(eLocationType.stage);
        inBattle = false;
    }
Exemple #2
0
 private void LoadMenu()
 {
     levelLogic.LoadLevel(0);
 }
Exemple #3
0
 public void RestartButton()
 {
     m_levelLogic.LoadLevel(myLevel);
 }