Wrapper to listen to editor global event to dispatch. More...
Inherits MonoBehaviour.
Properties | |
static Event | lastEvent [get] |
The last event data of eventHandler . More... | |
Events | |
static Action | eventHandler |
Callback of the global input or GameView GUI evant. More... | |
Wrapper to listen to editor global event to dispatch.
This's an editor-only UnityEngine.Component
, please don't add this manually nor by a script.
|
staticget |
The last event data of eventHandler
.
|
static |
Callback of the global input or GameView
GUI evant.
Wrapper for the undocumented internal EditorApplication.globalEventHandler
, hope it keeps alive. And work with a hidden component for GameView
event handling. It's not recommended to draw any GUI with this.
Please note, this may not be invoked if:
MenuItem
, e.g., "Ctrl-P" is "Edit/Play".