docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method QueueForMainThread

    QueueForMainThread(Action)

    Queues an action to be executed at the beginning of the next update. This is preferred to the QueueEndOfFrameItem, which will be deprecated in the future.

    Declaration
    public void QueueForMainThread(Action action)
    Parameters
    Type Name Description
    Action action

    Action that needs to be invoked.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)