コード例 #1
0
        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;
        }
コード例 #2
0
 public void Fini()
 {
     EditorCursor.evtCursorPosChanged -= this._OnCursorPosChanged;
     m_Selection.evtSelectionChanged  -= this._OnSelectionChanged;
     MeshUndoer.DelDeleMeshModified(this._OnMeshModified);
 }