コード例 #1
0
    private IEnumerator LoadSequence()
    {
        yield return(new WaitForSeconds(1f));

        StartGame();
        yield return(ThePlayer.StartCoroutine("CaveEntranceAnimation"));

        // TODO put this into a function that says "boss level begin" or something
        GameState = GameStates.Normal;
        _state    = BossGameState.MovingTowardsBoss;
        ThePlayer.SetPlayerSpeed(Toolbox.Instance.LevelSpeed);
        PlayerController.EnterGamePlay();
    }