/// <summary> /// auto clear assetbundle /// </summary> void LateUpdate() { ABDelayUnloadManager.Update(); if (allCompleteCheckCount > 0) { allCompleteCheckCount -= Time.deltaTime; if (allCompleteCheckCount <= 0) { CheckAllComplete();//check all complete } } }
/// <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(); }