Пример #1
0
 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>();
 }
Пример #2
0
 private void Awake()
 {
     mobAi      = GetComponent <MobAI>();
     lbh        = GetComponent <LivingHealthBehaviour>();
     mobExplore = GetComponent <MobExplore>();
 }