Struct SimpleTuple<T1, T2> | ProBuilder | 4.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SimpleTuple<T1, T2>

    A bare-bones Tuple class. Holds 2 items, does not implement equality, comparison, or anything else.

    Namespace: UnityEngine.ProBuilder
    Syntax
    public struct SimpleTuple<T1, T2>
    Type Parameters
    Name Description
    T1

    First element.

    T2

    Second element.

    Constructors

    SimpleTuple(T1, T2)

    Declaration
    public SimpleTuple(T1 item1, T2 item2)
    Parameters
    Type Name Description
    T1 item1
    T2 item2

    Properties

    item1

    Declaration
    public T1 item1 { get; set; }
    Property Value
    Type Description
    T1

    item2

    Declaration
    public T2 item2 { get; set; }
    Property Value
    Type Description
    T2

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()
    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