Exemple #1
0
 public static ERender DelRender(ERender render)
 {
     if (render != null && render.RenderCamera != null)
     {
         render.Release();
     }
     return(null);
 }
Exemple #2
0
 protected override void OnClose()
 {
     if (dlgRenderer != null)
     {
         dlgRenderer.Release();
         dlgRenderer = null;
     }
     if (dlgAvatar != null)
     {
         dlgAvatar = null;
     }
 }
Exemple #3
0
 protected override void OnClose()
 {
     mEquipCells.Clear();
     mPropertyItems.Clear();
     if (mAvatar != null)
     {
         mAvatar = null;
     }
     if (mRender != null)
     {
         mRender.Release();
         mRender = null;
     }
 }