Esempio n. 1
0
 protected new void Awake()
 {
     base.Awake();
     if (shooter == null)
     {
         shooter = GetComponentInChildren <Shooter>();
     }
     if (aimer == null)
     {
         aimer = GetComponentInChildren <EnemyAimer>();
     }
 }
Esempio n. 2
0
 protected new void Awake()
 {
     base.Awake();
     animActions = gameObject.GetComponent <AnimationActions>();
     if (shooter == null)
     {
         shooter = GetComponentInChildren <Shooter>();
     }
     if (aimer == null)
     {
         aimer = GetComponentInChildren <EnemyAimer>();
     }
 }