Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support awaiting additional engine callbacks #554

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 16, 2024

  1. Support awaiting additional engine callbacks

    Add EngineCallbackTiming enumeration with support for Application.onBeforeRender, Canvas.willRenderCanvases & Canvas.preWillRenderCanvases callbacks.
    Extract PlayerLoopRunner core logic into new base class ContinuationRunner.
    Add new EngineCallbackRunner class for running callbacks supported by EngineCallbackTiming enum.
    Modify YieldPromise to support creating a promise for the new enum.
    nandos13 committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    68a7969 View commit details
    Browse the repository at this point in the history
  2. Fix version define for preWillRenderCanvases

    Canvas.preWillRenderCanvases callback is available in 2020.3.0 and later
    nandos13 committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    bbbf396 View commit details
    Browse the repository at this point in the history