Show / Hide Table of Contents

    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.Core
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IUnityEventListener

    Methods

    Quit()

    Initiate the app quit process.

    Declaration
    void Quit()

    Restart()

    Initiate the app restart process.

    Declaration
    void Restart()

    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

    OnApplicationRestarted

    The event handler that gets called when the application restarts.

    Declaration
    event OnApplicationRestartHandler OnApplicationRestarted
    Event Type
    Type Description
    OnApplicationRestartHandler

    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
    Back to top Copyright © 2020 East Side Games Inc.