示例#1
0
 public AsyncOperation Unload(ProjectEventHandler callback = null)
 {
     UnloadUnregisterDestroy();
     return(m_assetDB.UnloadUnusedAssets(ao =>
     {
         if (callback != null)
         {
             callback(new Error());
         }
     }));
 }
示例#2
0
 public AsyncOperation Unload(Action <AsyncOperation> completedCallback = null)
 {
     UnloadUnregisterDestroy();
     return(m_assetDB.UnloadUnusedAssets(completedCallback));
 }