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

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