void Start() { sounds = GetComponent <Sounds>(); initiateDialog = GetComponent <InitiateDialog>(); tutorialSkip = GetComponent <TutorialSkip>(); sounds.PlayBG(); }
// 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; }
// 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; }
// 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); }