EditorState Enum

Summary

Represents a Unity Editor state which can be used as a condition.
Assembly
Kybernetik.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 0
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 1
When the Unity Editor is in Play Mode or in a Runtime Build.
static

Extension Methods

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