Esempio n. 1
0
        protected override void OnDestroy()
        {
            if (m_BeginConvertingRefCount > 0)
            {
                CleanupConversion();
            }

            m_JournalData.Dispose();
            m_Dependencies.Dispose();
        }
 protected override void OnDestroy()
 {
     if (m_BeginConvertingRefCount > 0)
     {
         CleanupConversion();
     }
     if (EntityManager.IsQueryValid(m_SceneSectionEntityQuery))
     {
         m_SceneSectionEntityQuery.Dispose();
     }
     m_JournalData.Dispose();
     m_Dependencies.Dispose();
 }