예제 #1
0
 void Start()
 {
     sounds         = GetComponent <Sounds>();
     initiateDialog = GetComponent <InitiateDialog>();
     tutorialSkip   = GetComponent <TutorialSkip>();
     sounds.PlayBG();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     sound = GetComponent <Sounds> ();
     sound.PlayBossTheme();
     initiateDialog = GetComponent <InitiateDialog>();
     initiateDialog.StartDialog();
     //sound.PlayBossDialog();
     StartCoroutine(BossDialogDelay(sound));
     bossAI         = FindObjectOfType <BossAI>();
     bossAI.enabled = false;
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     Time.timeScale = 1f;
     preventRepeat  = false;
     waveSpawner    = GetComponent <WaveSpawner>();
     initiateDialog = GetComponent <InitiateDialog>();
     initiateDialog.StartDialog();
     sounds = GetComponent <Sounds>();
     sounds.PlaySound2();
     StartCoroutine(ChukkaDelay(sounds));
     timer.gameObject.SetActive(false);
     chuka.GetComponent <EnemyAI>().enabled = false;
 }
예제 #4
0
 // Use this for initialization
 void Start()
 {
     Time.timeScale = 1f;
     TempuraIsAlive = true;
     MakiIsAlive    = true;
     isDone         = false;
     preventRepeat  = false;
     makiRoll.SetActive(false);
     enemyAI         = FindObjectOfType <EnemyAI>();
     enemyAI.enabled = false;
     initiateDialog  = GetComponent <InitiateDialog>();
     waveSpawner     = GetComponent <WaveSpawner>();
     initiateDialog.StartDialog();
     tempuraTutorial.gameObject.SetActive(true);
     bgmManager.PlayDialog();
     bgmManager.PlayTempuraKora();
     timer.gameObject.SetActive(false);
 }