提交 1ea1c545 编写于 作者: T tanghai

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

上级 246d9f14
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册