// Use this for initialization void Start() { EffectRootComp = GetComponentInChildren <EffectRootComp>(); SensorGroupComp = GetComponentInChildren <SensorGroupComp>(); BuildingGroupComp = GetComponentInChildren <BuildingGroupComp>(); EnemyGroupComp = GetComponentInChildren <EnemyGroupComp>(); }
void Start () { Instance = this; // 存储管理节点 EffectRootComp = GetComponentInChildren<EffectRootComp>(); EnemyGroupComp = GetComponentInChildren<EnemyGroupComp>(); SensorGroupComp = GetComponentInChildren<SensorGroupComp>(); }
// Use this for initialization void Start () { EffectRootComp = GetComponentInChildren<EffectRootComp>(); SensorGroupComp = GetComponentInChildren<SensorGroupComp>(); BuildingGroupComp = GetComponentInChildren<BuildingGroupComp>(); EnemyGroupComp = GetComponentInChildren<EnemyGroupComp>(); }