Exemplo n.º 1
0
	void Start () {
		Instance = this;

		// 存储管理节点
		EffectRootComp = GetComponentInChildren<EffectRootComp>();
		EnemyGroupComp = GetComponentInChildren<EnemyGroupComp>();
		SensorGroupComp = GetComponentInChildren<SensorGroupComp>();
	}
Exemplo n.º 2
0
	// Use this for initialization
	void Start () {
		EffectRootComp = GetComponentInChildren<EffectRootComp>();
		SensorGroupComp = GetComponentInChildren<SensorGroupComp>();
		BuildingGroupComp = GetComponentInChildren<BuildingGroupComp>();
		EnemyGroupComp = GetComponentInChildren<EnemyGroupComp>();
	}