docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ScheduleBackgroundTask

    ScheduleBackgroundTask(Action)

    Schedules a new task on a background thread. NOTE: In WebGL, multi-threading isn't supported, so this will be scheduled on main thread instead.

    Declaration
    public override void ScheduleBackgroundTask(Action task)
    Parameters
    Type Name Description
    Action task

    The task that should be executed on a background thread.

    Overrides
    TaskScheduler.ScheduleBackgroundTask(Action)
    In This Article
    Back to top
    Copyright © 2023 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)