示例#1
0
 // Use this for initialization
 void Start()
 {
     EffectRootComp    = GetComponentInChildren <EffectRootComp>();
     SensorGroupComp   = GetComponentInChildren <SensorGroupComp>();
     BuildingGroupComp = GetComponentInChildren <BuildingGroupComp>();
     EnemyGroupComp    = GetComponentInChildren <EnemyGroupComp>();
 }
示例#2
0
	// Use this for initialization
	void Start () {
		EffectRootComp = GetComponentInChildren<EffectRootComp>();
		SensorGroupComp = GetComponentInChildren<SensorGroupComp>();
		BuildingGroupComp = GetComponentInChildren<BuildingGroupComp>();
		EnemyGroupComp = GetComponentInChildren<EnemyGroupComp>();
	}