// Use this for initialization void Start() { EffectRootComp = GetComponentInChildren <EffectRootComp>(); SensorGroupComp = GetComponentInChildren <SensorGroupComp>(); BuildingGroupComp = GetComponentInChildren <BuildingGroupComp>(); EnemyGroupComp = GetComponentInChildren <EnemyGroupComp>(); }
// Use this for initialization void Start () { EffectRootComp = GetComponentInChildren<EffectRootComp>(); SensorGroupComp = GetComponentInChildren<SensorGroupComp>(); BuildingGroupComp = GetComponentInChildren<BuildingGroupComp>(); EnemyGroupComp = GetComponentInChildren<EnemyGroupComp>(); }