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