Beispiel #1
0
 void Awake()
 {
     patrolAI         = GetComponent <PatrolAI>();
     equipmentManager = GetComponent <EquipmentManager>();
     omniSense        = GetComponent <OmniSense>();
     health           = GetComponent <Health>();
     teamID           = GetComponent <TeamID>();
     animatorScript   = GetComponentInChildren <FurbyAnimatorScript>();
     previousPosition = transform.position;
 }
Beispiel #2
0
 void Awake()
 {
     fxManager      = GetComponent <FXManager>();
     animatorScript = GetComponentInChildren <FurbyAnimatorScript>();
 }