Exemple #1
0
 /// <summary>
 /// auto clear assetbundle
 /// </summary>
 void LateUpdate()
 {
     ABDelayUnloadManager.Update();
     if (allCompleteCheckCount > 0)
     {
         allCompleteCheckCount -= Time.deltaTime;
         if (allCompleteCheckCount <= 0)
         {
             CheckAllComplete();//check all complete
         }
     }
 }
Exemple #2
0
 /// <summary>
 /// LateUpdate is called every frame, if the Behaviour is enabled.
 /// It is called after all Update functions have been called.
 /// </summary>
 void LateUpdate()
 {
     ABDelayUnloadManager.Update();
 }