docs.unity3d.com
    Show / Hide Table of Contents

    Class EditorVariablesUtility

    Inheritance
    Object
    EditorVariablesUtility
    Namespace: Unity.VisualScripting
    Syntax
    public static class EditorVariablesUtility

    Properties

    declaration

    Declaration
    public static VariableDeclaration declaration { get; }
    Property Value
    Type Description
    VariableDeclaration

    isDraggingVariable

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

    kind

    Declaration
    public static VariableKind kind { get; }
    Property Value
    Type Description
    VariableKind

    Methods

    GetDynamicVariableNames(VariableKind, GraphReference)

    Declaration
    public static IEnumerable<string> GetDynamicVariableNames(VariableKind kind, GraphReference reference)
    Parameters
    Type Name Description
    VariableKind kind
    GraphReference reference
    Returns
    Type Description
    IEnumerable<String>

    GetPredefinedVariableNames(VariableKind, GraphReference)

    Declaration
    public static IEnumerable<string> GetPredefinedVariableNames(VariableKind kind, GraphReference reference)
    Parameters
    Type Name Description
    VariableKind kind
    GraphReference reference
    Returns
    Type Description
    IEnumerable<String>

    GetVariableNameSuggestions(VariableKind, GraphReference)

    Declaration
    public static IEnumerable<string> GetVariableNameSuggestions(VariableKind kind, GraphReference reference)
    Parameters
    Type Name Description
    VariableKind kind
    GraphReference reference
    Returns
    Type Description
    IEnumerable<String>

    SaveVariableAsset(VariablesAsset, String)

    Declaration
    public static void SaveVariableAsset(VariablesAsset asset, string fileName)
    Parameters
    Type Name Description
    VariablesAsset asset
    String fileName
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023