docs.unity3d.com
    显示 / 隐藏目录

    Struct RelationDataPair

    A pair of integers , one associated with each child. The integers can represent either indices or data IDs.

    Namespace: Unity.MARS.Data
    Syntax
    public struct RelationDataPair : IEquatable<RelationDataPair>

    Constructors

    RelationDataPair(Int32, Int32)

    Declaration
    public RelationDataPair(int one, int two)
    Parameters
    Type Name Description
    Int32 one
    Int32 two

    Fields

    Child1

    Declaration
    public readonly int Child1
    Field Value
    Type Description
    Int32

    Child2

    Declaration
    public readonly int Child2
    Field Value
    Type Description
    Int32

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(RelationDataPair)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)