예제 #1
0
 /// <summary>
 /// Raises the disable event.
 /// </summary>
 protected virtual void OnDisable()
 {
     SceneGUI.DeregisterObjectGUICallback(this as ISceneGUIContext);
     Undo.undoRedoPerformed        -= ApplyModificationsAndUpdateGUIContents;
     Undo.postprocessModifications -= OnModifyProperty;
 }
예제 #2
0
파일: BaseEditor.cs 프로젝트: Lenzan/newmmo
 /// <summary>
 /// Raises the disable event.
 /// </summary>
 protected virtual void OnDisable()
 {
     SceneGUI.DeregisterObjectGUICallback(this as ISceneGUIContext);
     Undo.undoRedoPerformed -= UpdateGUIContents;
 }