public void Run()
    {
        animator.SetInteger("Horizontal", 1);

        if (GameManager.gameMode == GameMode.SEARCH || GameManager.gameMode == GameMode.ESCAPE)
        {
            charaProvider.LightOff();
        }
    }
Beispiel #2
0
    IEnumerator FrashMode()
    {
        playerProvider.MoveStop();
        playerProvider.Stopping();
        playerProvider.LightOff();
        unitychanProvider.Show();
        dropTrap.ShowImage();

        gameMode = GameMode.FRASH;
        yield return(null);

        yield return(StartCoroutine(playerProvider.LookLeft()));

        unitychanProvider.StartMove();
    }