docs.unity3d.com
Search Results for

    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.

    Implements
    IEquatable<RelationDataPair>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.dll
    Syntax
    public struct RelationDataPair : IEquatable<RelationDataPair>

    Constructors

    RelationDataPair(int, int)

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

    Fields

    Child1

    Declaration
    public readonly int Child1
    Field Value
    Type Description
    int

    Child2

    Declaration
    public readonly int Child2
    Field Value
    Type Description
    int

    Methods

    Equals(object)

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

    Equals(RelationDataPair)

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

    GetHashCode()

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

    Implements

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