Show / Hide Table of Contents

Class EditMode

Inheritance
Object
EditMode
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
public class EditMode

Fields

| Improve this Doc View Source

onEditModeEndDelegate

Declaration
public static EditMode.OnEditModeStopFunc onEditModeEndDelegate
Field Value
Type Description
EditMode.OnEditModeStopFunc
| Improve this Doc View Source

onEditModeStartDelegate

Declaration
public static EditMode.OnEditModeStartFunc onEditModeStartDelegate
Field Value
Type Description
EditMode.OnEditModeStartFunc

Properties

| Improve this Doc View Source

editMode

Declaration
public static EditMode.SceneViewEditMode editMode { get; }
Property Value
Type Description
EditMode.SceneViewEditMode

Methods

| Improve this Doc View Source

ChangeEditMode(EditMode.SceneViewEditMode, Bounds, Editor)

Declaration
public static void ChangeEditMode(EditMode.SceneViewEditMode mode, Bounds bounds, Editor caller)
Parameters
Type Name Description
EditMode.SceneViewEditMode mode
Bounds bounds
Editor caller
| Improve this Doc View Source

DoEditModeInspectorModeButton(EditMode.SceneViewEditMode, String, GUIContent, Func<Bounds>, Editor)

Declaration
public static void DoEditModeInspectorModeButton(EditMode.SceneViewEditMode mode, string label, GUIContent icon, Func<Bounds> getBoundsOfTargets, Editor caller)
Parameters
Type Name Description
EditMode.SceneViewEditMode mode
String label
GUIContent icon
Func<Bounds> getBoundsOfTargets
Editor caller
| Improve this Doc View Source

DoEditModeInspectorModeButton(EditMode.SceneViewEditMode, String, GUIContent, Bounds, Editor)

Declaration
[Obsolete("Use signature passing Func<Bounds> rather than Bounds.")]
public static void DoEditModeInspectorModeButton(EditMode.SceneViewEditMode mode, string label, GUIContent icon, Bounds bounds, Editor caller)
Parameters
Type Name Description
EditMode.SceneViewEditMode mode
String label
GUIContent icon
Bounds bounds
Editor caller
| Improve this Doc View Source

DoInspectorToolbar(EditMode.SceneViewEditMode[], GUIContent[], Func<Bounds>, Editor)

Declaration
public static void DoInspectorToolbar(EditMode.SceneViewEditMode[] modes, GUIContent[] guiContents, Func<Bounds> getBoundsOfTargets, Editor caller)
Parameters
Type Name Description
EditMode.SceneViewEditMode[] modes
GUIContent[] guiContents
Func<Bounds> getBoundsOfTargets
Editor caller
| Improve this Doc View Source

DoInspectorToolbar(EditMode.SceneViewEditMode[], GUIContent[], Bounds, Editor)

Declaration
[Obsolete("Use signature passing Func<Bounds> rather than Bounds.")]
public static void DoInspectorToolbar(EditMode.SceneViewEditMode[] modes, GUIContent[] guiContents, Bounds bounds, Editor caller)
Parameters
Type Name Description
EditMode.SceneViewEditMode[] modes
GUIContent[] guiContents
Bounds bounds
Editor caller
| Improve this Doc View Source

IsOwner(Editor)

Declaration
public static bool IsOwner(Editor editor)
Parameters
Type Name Description
Editor editor
Returns
Type Description
Boolean
| Improve this Doc View Source

OnSelectionChange()

Declaration
public static void OnSelectionChange()
| Improve this Doc View Source

QuitEditMode()

Declaration
public static void QuitEditMode()
| Improve this Doc View Source

ResetToolToPrevious()

Declaration
public static void ResetToolToPrevious()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX