コード例 #1
0
ファイル: MobAI.cs プロジェクト: ewy0/unitystation
 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
ファイル: MobMood.cs プロジェクト: jedi5218/unitystation
 private void Awake()
 {
     mobAi      = GetComponent <MobAI>();
     lbh        = GetComponent <LivingHealthBehaviour>();
     mobExplore = GetComponent <MobExplore>();
 }