Ejemplo n.º 1
0
    private void Update()
    {
        _time += Time.deltaTime;
        if (_time >= 1.29999995231628 && !_hasPlayEncounterSound)
        {
            RequestPlayBattleEncounterSong();
            _hasPlayEncounterSound = true;
        }

        if (!_rush.update())
        {
            return;
        }

        if (!_hasPlayEncounterSound)
        {
            RequestPlayBattleEncounterSong();
            _hasPlayEncounterSound = true;
        }

        SceneDirector.ReplacePending(SceneTransition.FadeOutToBlack_FadeIn, true);
    }