docs.unity3d.com
    Show / Hide Table of Contents

    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

    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
    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