Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     m_animator             = GetComponent <Animator>();
     fov                    = GetComponent <TitansFieldOfView>();
     tm                     = GetComponent <Titan_Mouvement>();
     hm                     = GetComponent <HealthManagement>();
     roars                  = GetComponents <AudioSource>();
     sphereCollider         = sphereAttack.GetComponent <SphereCollider>();
     sphereCollider.enabled = false;
     attackParticule        = attackEffect.GetComponent <ParticleSystem>();
     //StartCoroutine(UnAggroRoutine());
     InvokeRepeating("UnAggroRoutine2", 2.0f, 5.0f);
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     m_animator = GetComponent <Animator>();
     ta         = GetComponent <Titan_Mouvement>();
 }