docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(SplineKnotIndex)

    Checks if two indices are equal.

    Declaration
    public bool Equals(SplineKnotIndex otherIndex)
    Parameters
    Type Name Description
    SplineKnotIndex otherIndex

    The index to compare against.

    Returns
    Type Description
    bool

    Returns true if the indices reference the same knot on the same spline, false otherwise.

    Implements
    IEquatable<T>.Equals(T)

    Equals(object)

    Checks if two indices are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare against.

    Returns
    Type Description
    bool

    Returns true if the object is a SplineKnotIndex and the indices reference the same knot on the same spline, false otherwise.

    Overrides
    ValueType.Equals(object)
    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)