Class EditMode
Assembly: UnityEditor.dll
Syntax
Fields
|
Improve this Doc
View Source
onEditModeEndDelegate
Declaration
public static EditMode.OnEditModeStopFunc onEditModeEndDelegate
Field Value
|
Improve this Doc
View Source
onEditModeStartDelegate
Declaration
public static EditMode.OnEditModeStartFunc onEditModeStartDelegate
Field Value
Properties
|
Improve this Doc
View Source
editMode
Declaration
public static EditMode.SceneViewEditMode editMode { get; }
Property Value
Methods
|
Improve this Doc
View Source
ChangeEditMode(EditMode.SceneViewEditMode, Bounds, Editor)
Declaration
public static void ChangeEditMode(EditMode.SceneViewEditMode mode, Bounds bounds, Editor caller)
Parameters
|
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
|
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
|
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
|
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
|
Improve this Doc
View Source
IsOwner(Editor)
Declaration
public static bool IsOwner(Editor editor)
Parameters
Type |
Name |
Description |
Editor |
editor |
|
Returns
|
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
Declaration
public static void ResetToolToPrevious()
Extension Methods