protected virtual void Awake() { mobFollow = GetComponent <MobFollow>(); mobExplore = GetComponent <MobExplore>(); mobFlee = GetComponent <MobFlee>(); health = GetComponent <LivingHealthBehaviour>(); directional = GetComponent <Directional>(); mobSprite = GetComponent <MobSprite>(); cnt = GetComponent <CustomNetTransform>(); registerObject = GetComponent <RegisterObject>(); uprightSprites = GetComponent <UprightSprites>(); }
private void Awake() { mobAi = GetComponent <MobAI>(); lbh = GetComponent <LivingHealthBehaviour>(); mobExplore = GetComponent <MobExplore>(); }