Ejemplo n.º 1
0
 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();
    }