docs.unity3d.com
Search Results for

    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
    bool

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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)