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

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