예제 #1
0
    //This is for a fading game start, NOT CURRENTLY USED
    IEnumerator StartGameSequence()
    {
        //Fade from the menu and wait
        _gameManager.fadeInOut.FadeScreen(false);
        yield return(new WaitForSeconds(_fadeTime));

        //Activate the game and fade to it
        _gameManager.screenManager.ChangeCurrentScreen(GameScreens.GameScreen);
        worldMover.StartMoving();
        _gameManager.fadeInOut.FadeScreen(true);
    }
예제 #2
0
 void Start()
 {
     worldMover.StartMoving();
 }