docs.unity.cn
    Show / Hide Table of Contents

    Operator UnaryPlus

    UnaryPlus(float2)

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

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

    Value to use when computing the componentwise unary plus.

    Returns
    Type Description
    float2

    float2 result of the componentwise unary plus.

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