Wanzyee Studio

Open new Inspector to edit specified object, and toggle Inspector states. More...

Static Public Member Functions

static void InspectSelected ()
 Open new locked Inspector window to show current selected objects, hotkey "Ctrl-I". More...
 
static void ToggleInspectorMode ()
 Toggle Inspector debug mode, hotkey "Alt-I". More...
 
static void ToggleInspectorLock ()
 Toggle Inspector lock state, hotkey "Ctrl-Shift-I". More...
 
static EditorWindow Inspect (params Object[] targets)
 Open new Inspector window locked to show specified objects. More...
 
static EditorWindow Create (params Object[] targets)
 Create new Inspector window locked to specified objects without showing. More...
 
static InspectorMode GetMode (EditorWindow inspector)
 Get the inspector mode of specified Inspector. More...
 
static void SetMode (EditorWindow inspector, InspectorMode mode)
 Sets the mode. More...
 
static bool GetLocked (EditorWindow inspector)
 Get the lock state of specified Inspector. More...
 
static void SetLocked (EditorWindow inspector, bool locked)
 Set the lock state of specified Inspector. More...
 

Detailed Description

Open new Inspector to edit specified object, and toggle Inspector states.

Use UnityEngine.Object context menu "Inspect" to show single object in a new locked Inspector. And "Select" to select it, helpful when open multiple locked Inspector windows. Also able for UnityEngine.Component, useful to edit multiple on different UnityEngine.GameObject.

Menu "Window/View/Inspect Selected" or hotkey "Ctrl-I", to show selected objects in a new locked Inspector. Menu "Window/View/Toggle Inspector Mode" or hotkey "Alt-I", to toggle debug mode of an Inspector. Menu "Window/View/Toggle Inspector Lock" or hotkey "Ctrl-Shift-I", to toggle lock state of an Inspector. Toggle the one with mouse over, or focused, or the single one if multiple, otherwise do nothing.

Member Function Documentation

static void InspectSelected ( )
static

Open new locked Inspector window to show current selected objects, hotkey "Ctrl-I".

static void ToggleInspectorMode ( )
static

Toggle Inspector debug mode, hotkey "Alt-I".

static void ToggleInspectorLock ( )
static

Toggle Inspector lock state, hotkey "Ctrl-Shift-I".

static EditorWindow Inspect ( params Object[]  targets)
static

Open new Inspector window locked to show specified objects.

Parameters
targetsTargets.
Returns
New Inspector window.
static EditorWindow Create ( params Object[]  targets)
static

Create new Inspector window locked to specified objects without showing.

Parameters
targetsTargets.
Returns
New Inspector window.
static InspectorMode GetMode ( EditorWindow  inspector)
static

Get the inspector mode of specified Inspector.

Parameters
inspectorInspector.
Returns
The mode.
static void SetMode ( EditorWindow  inspector,
InspectorMode  mode 
)
static

Sets the mode.

Parameters
inspectorInspector.
modeMode.
static bool GetLocked ( EditorWindow  inspector)
static

Get the lock state of specified Inspector.

Parameters
inspectorInspector.
Returns
true, if locked, false otherwise.
static void SetLocked ( EditorWindow  inspector,
bool  locked 
)
static

Set the lock state of specified Inspector.

Parameters
inspectorInspector.
lockedIf set to true locked.