docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Dispatcher.SleepForSecondsDispatch

    Delay frames and dispatch execution to the main thread

    Inheritance
    object
    Dispatcher.YieldInstruction
    Dispatcher.SleepForSecondsDispatch
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.UnitySDK
    Assembly: Unity.Pixyz.UnitySDK.Editor.dll
    Syntax
    public class Dispatcher.SleepForSecondsDispatch : Dispatcher.YieldInstruction

    Methods

    Dispatch(IEnumerator)

    Delay frames and dispatch execution to the main thread

    Declaration
    public override Task<bool> Dispatch(IEnumerator enumerator)
    Parameters
    Type Name Description
    IEnumerator enumerator

    Enumerator to dispatch

    Returns
    Type Description
    Task<bool>

    Dispatch

    Overrides
    Dispatcher.YieldInstruction.Dispatch(IEnumerator)
    In This Article
    Back to top
    Copyright © 2025 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)