Ejemplo n.º 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;
    }