Procházet zdrojové kódy

修复UILoading异常,少了一个参数

tanghai před 7 roky
rodič
revize
1ea1c54550

+ 1 - 1
Unity/Assets/Model/Module/Demo/UI/UILoading/System/UILoadingFactory.cs

@@ -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;