This singleton processing system events:
1) Mouse and key OnGUI() UnityEngine.Events
2) Input.mousePosition on Update()
3) Screen resize
It emits signals to interested components
This Singleton is a central place for emiting input signals
If events needed, use SystemEventDispatcher Singleton
| C# | Visual Basic | Visual C++ |
public sealed class SystemManager
Public NotInheritable Class SystemManager
public ref class SystemManager sealed
| All Members | Methods | Properties | Fields | ||
| Icon | Member | Description |
|---|---|---|
| AltKeyPressed |
True if the Alt key is pressed
| |
| ControlKeyPressed |
True if the Control key is pressed
| |
| DebugMode |
Debug mode
| |
| Dispose()()()() |
Emits the disposing signal and disposes the system manager
| |
| DisposingSignal |
Disposing signal
| |
| Enabled |
If true, system manager is enabled
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FixedUpdateSignal |
Fixed update signal
| |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| GizmoSignal |
Gizmos signal
| |
| Instance |
Singleton instance
| |
| KeyDownSignal |
Key down signal
| |
| KeyUpSignal |
Key up signal
| |
| LateUpdateSignal |
Late update signal
| |
| LevelInitSignal |
Level loaded signal
| |
| LevelLoadedSignal |
Level loaded signal
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MiddleMouseDownSignal |
Middle mouse down signal
| |
| MiddleMouseUpSignal |
Middle mouse up signal
| |
| MouseDownSignal |
Mouse down signal
| |
| MouseDragSignal |
Mouse drag signal
| |
| MouseMoveSignal |
Mouse move signal
| |
| MousePosition |
Publicly available mouse position
| |
| MouseUpSignal |
Mouse up signal
| |
| MouseWheelSignal |
Mouse wheel signal
| |
| OnGuiDepth |
A global GUI.depth for this framework
If set, this depth is applied before rendering
| |
| PreRenderSignal |
Pre render update signal
| |
| ProcessAwake()()()() |
Process Awake
| |
| ProcessFixedUpdate()()()() |
Runs on SystemManagerInvoker.FixedUpdate()
| |
| ProcessInput()()()() |
Runs on SystemManagerInvoker.OnGUI()
| |
| ProcessLateUpdate()()()() |
Runs on SystemManagerInvoker.LateUpdate()
| |
| ProcessLevelLoaded()()()() |
Emits the level loaded signal
| |
| ProcessOnDisable()()()() | ||
| ProcessOnDrawGizmos()()()() |
Emits the gizmos signal
| |
| ProcessOnEnable()()()() | ||
| ProcessUpdate()()()() |
Runs on SystemManagerInvoker.Update()
| |
| RenderSignal |
Render signal
| |
| ResizeSignal |
Resize signal
| |
| RightMouseDownSignal |
Right mouse down signal
| |
| RightMouseUpSignal |
Right mouse up signal
| |
| SceneChangeSignal |
Scene change signal
| |
| ScreenSize |
Publicly available screen size
| |
| ShiftKeyPressed |
True if the Shift key is pressed
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| TouchSignal |
Touch
| |
| UpdateSignal |
Update update signal
|
| Object | |
| SystemManager | |