Example #1
0
 protected override void OnDestroy()
 {
     if (null != m_textMeshProComponent)
     {
         Object.Destroy(m_textMeshProComponent);
         m_textMeshProComponent = null;
     }
     if (m_fontCollection != null)
     {
         m_fontCollection.Unload();
     }
     this.OnDestroy();
 }