docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VariableModel

    Inheritance
    object
    VariableModel
    TypedVariableModel<T>
    Implements
    IEquatable<VariableModel>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Graph
    Assembly: Unity.MuseLab.Graph.dll
    Syntax
    [Serializable]
    [JsonObject(IsReference = false)]
    public abstract class VariableModel : IEquatable<VariableModel>

    Fields

    ID

    Declaration
    [SerializeField]
    public SerializableGUID ID
    Field Value
    Type Description
    SerializableGUID

    Name

    Declaration
    [SerializeField]
    public string Name
    Field Value
    Type Description
    string

    Properties

    ObjectValue

    Declaration
    public abstract object ObjectValue { get; set; }
    Property Value
    Type Description
    object

    Type

    Declaration
    public abstract Type Type { get; }
    Property Value
    Type Description
    Type

    Methods

    Equals(VariableModel)

    Declaration
    public bool Equals(VariableModel other)
    Parameters
    Type Name Description
    VariableModel other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    OnValidate()

    Declaration
    public virtual void OnValidate()

    Operators

    operator ==(VariableModel, VariableModel)

    Declaration
    public static bool operator ==(VariableModel a, VariableModel b)
    Parameters
    Type Name Description
    VariableModel a
    VariableModel b
    Returns
    Type Description
    bool

    operator !=(VariableModel, VariableModel)

    Declaration
    public static bool operator !=(VariableModel a, VariableModel b)
    Parameters
    Type Name Description
    VariableModel a
    VariableModel b
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2024 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)