docs.unity.cn

Visual Scripting 1.9.0

    Show / Hide Table of Contents

    Class UnityThread

    Inheritance
    Object
    UnityThread
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.VisualScripting
    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
    Boolean

    Methods

    EditorAsync(Action)

    Declaration
    [Conditional("UNITY_EDITOR")]
    public static void EditorAsync(Action action)
    Parameters
    Type Name Description
    Action action
    In This Article
    • Fields
      • editorAsync
      • pendingQueue
      • thread
    • Properties
      • allowsAPI
    • Methods
      • EditorAsync(Action)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, August 4, 2023