docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VariableModel

    Inheritance
    object
    VariableModel
    TypedVariableModel<T>
    Implements
    IEquatable<VariableModel>
    Inherited Members
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Graph
    Assembly: solution.dll
    Syntax
    [Serializable]
    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)

    Indicates whether the current object is equal to another object of the same type.

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

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(object)

    Determines whether the specified object is equal to the current object.

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

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    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)