Interface IUnityEventListener
An interface that handles receiving platform or game engine specific events that do not originate from the IdleKit such as the Update(), FixedUpdate(), and ApplicationPause() events from the Unity engine.
The "events" mentioned here should not to be mistaken with IdleKit's IAction) and do not use the IActionService as this is an external facing class.
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IUnityEventListener
Events
OnApplicationPaused
The event handler that gets called when the application comes into the foreground or goes into the background.
Declaration
event OnApplicationPauseHandler OnApplicationPaused
Event Type
Type | Description |
---|---|
OnApplicationPauseHandler |
OnApplicationTerminated
The event handler that gets called when the user quit the app.
Declaration
event OnApplicationTerminateHandler OnApplicationTerminated
Event Type
Type | Description |
---|---|
OnApplicationTerminateHandler |
OnFixedUpdate
The event handler that gets called every fixed frame-rate frame.
Declaration
event OnFixedUpdateHandler OnFixedUpdate
Event Type
Type | Description |
---|---|
OnFixedUpdateHandler |
OnLateUpdate
The event handler that gets called at the end of each application's core update loop.
Declaration
event OnLateUpdateHandler OnLateUpdate
Event Type
Type | Description |
---|---|
OnLateUpdateHandler |
OnUpdate
The event handler that gets called when the application's core loop just get updated. This is usually synonymous with the game's frames per second.
Declaration
event OnUpdateHandler OnUpdate
Event Type
Type | Description |
---|---|
OnUpdateHandler |