예제 #1
0
 internal override void Unload()
 {
     if (_request != null)
     {
         _request.Release();
         _request = null;
     }
 }
예제 #2
0
 internal override void Unload()
 {
     if (bundleRequest != null)
     {
         bundleRequest.Release();
         bundleRequest = null;
     }
     asset = null;
 }
예제 #3
0
 internal override void Unload()
 {
     if (bundleRequest != null)
     {
         bundleRequest.Release();
     }
     if (loadSceneMode == LoadSceneMode.Additive)
     {
         if (SceneManager.GetSceneByName(sceneName).isLoaded)
         {
             SceneManager.UnloadSceneAsync(sceneName);
         }
     }
     bundleRequest = null;
 }
예제 #4
0
 internal static void UnloadBundle(BundleRequest bundle)
 {
     bundle.Release();
 }