public void Dispose() { LiveLinkPatcher.Dispose(); LiveLinkDiffer.Dispose(); if (GameObjectWorld != null && GameObjectWorld.IsCreated) { GameObjectWorld.Dispose(); } GameObjectWorld = null; if (ConvertedWorld != null && ConvertedWorld.IsCreated) { ConvertedWorld.Dispose(); } ConvertedWorld = null; }
public void Dispose() { _BlobAssetStore.Dispose(); _IncrementalConversionChangeTracker.Dispose(); #if UNITY_2020_2_OR_NEWER _IncrementalConversionDebug.Dispose(); #endif try { _LiveLinkDiffer.Dispose(); } catch (Exception e) { Debug.LogException(e); } try { if (_GameObjectWorld != null && _GameObjectWorld.IsCreated) { _GameObjectWorld.Dispose(); } _GameObjectWorld = null; } catch (Exception e) { Debug.LogException(e); } try { if (_ConvertedWorld != null && _ConvertedWorld.IsCreated) { _ConvertedWorld.Dispose(); } _ConvertedWorld = null; } catch (Exception e) { Debug.LogException(e); } }
public void Dispose() { m_BlobAssetStore.Dispose(); m_AssetDependencies.Dispose(); try { _LiveLinkDiffer.Dispose(); } catch (Exception e) { Debug.LogException(e); } try { if (_GameObjectWorld != null && _GameObjectWorld.IsCreated) { _GameObjectWorld.Dispose(); } _GameObjectWorld = null; } catch (Exception e) { Debug.LogException(e); } try { if (_ConvertedWorld != null && _ConvertedWorld.IsCreated) { _ConvertedWorld.Dispose(); } _ConvertedWorld = null; } catch (Exception e) { Debug.LogException(e); } }