docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UnityThread

    Inheritance
    object
    UnityThread
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.VisualScripting
    Assembly: Unity.VisualScripting.Core.dll
    Syntax
    public static class UnityThread

    Fields

    editorAsync

    Declaration
    public static Action<Action> editorAsync
    Field Value
    Type Description
    Action<Action>

    pendingQueue

    Declaration
    public static ConcurrentQueue<Action> pendingQueue
    Field Value
    Type Description
    ConcurrentQueue<Action>

    thread

    Declaration
    public static Thread thread
    Field Value
    Type Description
    Thread

    Properties

    allowsAPI

    Declaration
    public static bool allowsAPI { get; }
    Property Value
    Type Description
    bool

    Methods

    EditorAsync(Action)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void EditorAsync(Action action)
    Parameters
    Type Name Description
    Action action
    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)