示例#1
0
 private void Update()
 {
     if (mLoader.HasTask && mLoading)
     {
         mLoader.OnTick(Time.unscaledDeltaTime);
         if (mLoader.IsDone)
         {
             if (mLoadEndCallback != null)
             {
                 mLoadEndCallback();
                 mLoadEndCallback = null;
             }
             OnLoadEnd(mLoadingScene);
             mLoadingScene = null;
             mLoading      = false;
         }
     }
 }