Exemplo n.º 1
0
 void Start()
 {
     motor = GetComponent<EnemyMotor>();
     senses = GetComponent<EnemySenses>();
     sounds = GetComponent<EnemySounds>();
     mobile = GetComponentInChildren<DaggerfallMobileUnit>();
 }
Exemplo n.º 2
0
 void Start()
 {
     senses = GetComponent<EnemySenses>();
     controller = GetComponent<CharacterController>();
     mobile = GetComponentInChildren<DaggerfallMobileUnit>();
     isHostile = (mobile.Summary.Enemy.Reactions == MobileReactions.Hostile);
 }