docs.unity.cn
    Show / Hide Table of Contents

    Operator Decrement

    Decrement(float2)

    Returns the result of a componentwise decrement 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 decrement.

    Returns
    Type Description
    float2

    float2 result of the componentwise decrement.

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