EditorState Enum

Summary

Represents a Unity Editor state which can be used as a condition.
Assembly
InspectorGadgets.dll
Namespace
InspectorGadgets
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["EditorState"] class Type type-node

Syntax

public enum EditorState

Fields

Name Constant Value Summary
Always 1
All the time, regardless of the current state of the Unity Editor.
static
Editing 2
When the Unity Editor is not in Play Mode.
static
Playing 0
When the Unity Editor is in Play Mode.
static

Extension Methods

Name Value Summary
IsNow() bool
Returns true if the Unity Editor is currently in the specified `state`.
From IGUtils