docs.unity.cn
    Show / Hide Table of Contents

    Method Equals

    Equals(in LocalTransform)

    Checks if a transform has equal position, rotation, and scale to another.

    Declaration
    public bool Equals(in LocalTransform other)
    Parameters
    Type Name Description
    LocalTransform other

    The TransformData to compare.

    Returns
    Type Description
    Boolean

    Returns true if the position, rotation, and scale are equal.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023