public void Fini() { EditorUtility.SetSelectedWireframeHidden(m_EditMesh.renderer, false); //show the wireframe m_TriMarker.Fini(); m_TriMarker = null; m_EdgeMarker.Fini(); m_EdgeMarker = null; m_VertMarker.Fini(); m_VertMarker = null; MeshUndoer.DelDeleMeshModified(this.OnMeshModified); m_Selection.evtSelectionChanged -= this.OnSelectionChanged; }
public void Fini() { EditorCursor.evtCursorPosChanged -= this._OnCursorPosChanged; m_Selection.evtSelectionChanged -= this._OnSelectionChanged; MeshUndoer.DelDeleMeshModified(this._OnMeshModified); }