// Use this for initialization void Start() { health = GetComponent <Health>(); ai = GetComponent <AttackPlayerAI>(); roamAi = GetComponent <RoamAI>(); takeDmg = GetComponent <TakeDamage>(); anim = GetComponent <Animator>(); }
public override void Start() { base.Start(); followAI = transform.GetComponent <FollowAI>(); roamAI = transform.GetComponent <RoamAI>(); }