예제 #1
0
 /// <summary>
 /// 获取通用加载组件
 /// </summary>
 /// <returns></returns>
 public SceneLoadingViewComp GetLoadingViewComp()
 {
     if (LoadingViewComp == null)
     {
         LoadingViewComp = AddComp <SceneLoadingViewComp>();
     }
     return(LoadingViewComp);
 }
예제 #2
0
 public void StartLoadChanage()
 {
     if (LoadingView == null)
     {
         LoadingView = SceneModel.Instance.GetLoadingViewComp();
     }
     LoadingView.Show();
 }