Browse Source

加载界面fix

guodong 3 years ago
parent
commit
b299e6ff56
1 changed files with 1 additions and 0 deletions
  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()
         protected override void OnShown()
         {
         {
             base.OnShown();//1;//
             base.OnShown();//1;//
+            SetProgress(0);
             int index = Random.Range(0, resNames.Length);
             int index = Random.Range(0, resNames.Length);
             _ui.m_loaBg.url = string.Format("ui://Loading/{0}", resNames[index]);
             _ui.m_loaBg.url = string.Format("ui://Loading/{0}", resNames[index]);
         }
         }