protected virtual void BuildItems() {
		_uiLayerObj = new GameObject ("UILayer_" + _layerName);
		_uiLayerObj.transform.SetParent (_parentObj.transform, false);
		_uiLayer = _uiLayerObj.AddComponent<UILayer> ();
		_uiLayer.Build (_sSettings);
		_uiLayer.AppearLayer(_curLevel-_prevLevel);

	}
Beispiel #2
0
 protected virtual void BuildItems()
 {
     _uiLayerObj = new GameObject("UILayer_" + _layerName);
     _uiLayerObj.transform.SetParent(_parentObj.transform, false);
     _uiLayer = _uiLayerObj.AddComponent <UILayer> ();
     _uiLayer.Build(_sSettings);
     _uiLayer.AppearLayer(_curLevel - _prevLevel);
 }