Search Results for

    Show / Hide Table of Contents

    Struct SwitchToUnityMainThreadAwaitable

    An awaitable which, when awaited, switches the current context to the Unity main thread.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: IPA.Utilities
    Assembly: IPA.Loader.dll
    Syntax
    public struct SwitchToUnityMainThreadAwaitable

    Methods

    | Improve this Doc View Source

    GetAwaiter()

    Gets the awaiter for this awaitable.

    Declaration
    public SwitchToUnityMainThreadAwaiter GetAwaiter()
    Returns
    Type Description
    SwitchToUnityMainThreadAwaiter

    The awaiter for this awaitable.

    Extension Methods

    ReflectionUtil.SetField<T, U>(T, String, U)
    ReflectionUtil.GetField<U, T>(T, String)
    ReflectionUtil.SetProperty<T, U>(T, String, U)
    ReflectionUtil.GetProperty<U, T>(T, String)
    ReflectionUtil.InvokeMethod<U, T>(T, String, Object[])

    See Also

    SwitchToMainThreadAsync()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX