Beispiel #1
0
 private void UnloadUnregisterDestroy()
 {
     m_assetDB.UnloadLibraries();
     m_assetDB.UnregisterSceneObjects();
     m_assetDB.UnregisterDynamicResources();
     foreach (UnityObject dynamicResource in m_dynamicResources.Values)
     {
         Destroy(dynamicResource);
     }
     m_dynamicResources.Clear();
 }
Beispiel #2
0
 private void UnloadUnregisterDestroy()
 {
     m_assetDB.UnloadLibraries();
     m_assetDB.UnregisterSceneObjects();
     m_assetDB.UnregisterDynamicResources();
     foreach (UnityObject dynamicResource in m_dynamicResources.Values)
     {
         Destroy(dynamicResource);
     }
     m_dynamicResources.Clear();
     m_staticReferencesMapping = null;
     m_idToAssetItem           = new Dictionary <long, AssetItem>();
 }