Example #1
0
 void Awake()
 {
     sound              = GetComponent <AI_Soundmanager>();
     soundManager       = GameObject.FindObjectOfType <SoundManager>();
     notificationText   = GameObject.FindObjectOfType <AreaNotificationText>();
     bossHealthbar      = Resources.FindObjectsOfTypeAll <EnemyBossHealthbar>()[0];
     bossArena          = FindObjectOfType <BossArena>();
     footPrintParticles = transform.Find("FootprintParticles").GetComponent <ParticleSystem>();
     attackParticles    = transform.Find("AttackParticles").GetComponent <ParticleSystem>();
     Initialize();
 }