|
|
@@ -12,7 +12,7 @@ namespace ETModel
|
|
|
GameObject bundleGameObject = ((GameObject)ResourcesHelper.Load("KV")).Get<GameObject>(UIType.UILoading);
|
|
|
GameObject go = UnityEngine.Object.Instantiate(bundleGameObject);
|
|
|
go.layer = LayerMask.NameToLayer(LayerNames.UI);
|
|
|
- UI ui = ComponentFactory.Create<UI, GameObject>(go);
|
|
|
+ UI ui = ComponentFactory.Create<UI, string, GameObject>(UIType.UILoading, go, false);
|
|
|
|
|
|
ui.AddComponent<UILoadingComponent>();
|
|
|
return ui;
|