Example #1
0
        private IEnumerator <float> StartBattle()
        {
            yield return(Timing.WaitForSeconds(1));

            anim.Play("Spell 1", 0);
            Battle.OverrideEngine(minotaurEngine);
            EnemySpawnManager.SetSpecificEnemiesForBattle(new List <Enemy> {
                minotaur
            });
            yield return(Timing.WaitForSeconds(2));

            // Time.timeScale = 0.01f;
            // Time.fixedDeltaTime = 0.02F * Time.timeScale;
            SceneLoadManager.LoadBossBattle(BattleSceneHandler.BattleSceneName);
        }
Example #2
0
 [UsedImplicitly] public void StartTutorialBattle()
 {
     if (!beginTutorial)
     {
         return;
     }
     sphereCollider.enabled = false;
     beginTutorial          = false;
     OverworldAudioManager.StopTheme();
     PartyManager.Members.ForEach(m => m.ResetToBase());
     Battle.OverrideEngine(tutorialEngine);
     EnemySpawnManager.SetSpecificEnemiesForBattle(new List <Enemy> {
         kingTuut
     });
     Timing.RunCoroutine(StartTutorialCoroutine());
 }