API ReferenceEditor
public static abstract sealed class Editor.EditorEvent
Related Guides
Broader workflow and conceptual references connected to this API.
Custom Editors
When creating your own Classes/Structs/Assets/ect, you'll sometimes want custom editors that pair with them. For example, a Gradient Editor so you can visually see what the Gradient looks like instead of editing the Gradient as if it were a Struct with a list of Colours.
Editor Events
Editor Events are events that are broadcast globally throughout the editor and can be listened to/fired from any Editor Project. These are useful for creating your own custom Editor Tools and making sure they can work in tandem with existing systems.
Methods
Showing 7 methods
public static void Register(object obj)
Register an object, start receiving events
public static void RunInterface(System.Action`1<T> action)
public static void Unregister(object obj)
Unregister an object, stop receiving events
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.EditorEvent |