소스 검색

加载界面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]);
         }