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