浏览代码

加载界面fix

guodong 3 年之前
父节点
当前提交
b299e6ff56
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      GameClient/Assets/Game/HotUpdate/Views/Loading/LoadingView.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/Loading/LoadingView.cs

@@ -50,6 +50,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();//1;//
+            SetProgress(0);
             int index = Random.Range(0, resNames.Length);
             _ui.m_loaBg.url = string.Format("ui://Loading/{0}", resNames[index]);
         }