docs.unity.cn
    Show / Hide Table of Contents

    Struct PropertyData

    Serializable data structure of a Property.

    Namespace: UnityEngine.GameFoundation.Data
    Syntax
    [Serializable]
    public struct PropertyData : IEquatable<PropertyData>

    Fields

    key

    Property's identifier.

    Declaration
    public string key
    Field Value
    Type Description
    String

    value

    Property's current value.

    Declaration
    public Property value
    Field Value
    Type Description
    Property

    Methods

    Equals(Object)

    Tells whether this PropertyData instance equals obj.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The other object to compare this instance with.

    Returns
    Type Description
    Boolean

    true if equals, false otherwise.

    Overrides
    ValueType.Equals(Object)

    Equals(PropertyData)

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

    GetHashCode()

    Gets the hash code of this PropertyData instance. Returns the hash code of its key.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The hash code of this PropertyData instance.

    Overrides
    ValueType.GetHashCode()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021