Ejemplo n.º 1
0
 private void Awake()
 {
     soundManager     = FindObjectOfType <SoundManager>();
     notificationText = Resources.FindObjectsOfTypeAll <AreaNotificationText>()[0];
     healthbars       = Resources.FindObjectsOfTypeAll <EnemyBossHealthbar>();
     platforms        = FindObjectOfType <BossArenaPlatforms>();
 }
    void Awake()
    {
        nagaManager    = FindObjectOfType <Naga_Manager>();
        originalParent = transform.parent;
        platforms      = Resources.FindObjectsOfTypeAll <BossArenaPlatforms>()[0];
        sound          = GetComponent <AI_Soundmanager>();

        Initialize();
    }