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