void Awake()
 {
     nagaManager    = transform.parent.GetComponent <Naga_Manager>();
     originalParent = transform.parent;
     sound          = GetComponent <AI_Soundmanager>();
     Initialize();
 }
    void Awake()
    {
        nagaManager    = FindObjectOfType <Naga_Manager>();
        originalParent = transform.parent;
        platforms      = Resources.FindObjectsOfTypeAll <BossArenaPlatforms>()[0];
        sound          = GetComponent <AI_Soundmanager>();

        Initialize();
    }
Beispiel #3
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();
 }
Beispiel #4
0
 void Awake()
 {
     soundManager = GetComponent <AI_Soundmanager>();
     Initialize();
 }