Exemplo n.º 1
0
 /// <summary>
 /// Raises the disable event.
 /// </summary>
 protected virtual void OnDisable()
 {
     SceneGUI.DeregisterObjectGUICallback(this as ISceneGUIContext);
     Undo.undoRedoPerformed        -= ApplyModificationsAndUpdateGUIContents;
     Undo.postprocessModifications -= OnModifyProperty;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the disable event.
 /// </summary>
 protected virtual void OnDisable()
 {
     SceneGUI.DeregisterObjectGUICallback(this as ISceneGUIContext);
     Undo.undoRedoPerformed -= UpdateGUIContents;
 }