docs.unity.cn
    Show / Hide Table of Contents

    Operator UnaryPlus

    UnaryPlus(int2)

    Returns the result of a componentwise unary plus operation on an int2 vector.

    Declaration
    public static int2 operator +(int2 val)
    Parameters
    Type Name Description
    int2 val

    Value to use when computing the componentwise unary plus.

    Returns
    Type Description
    int2

    int2 result of the componentwise unary plus.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use