docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GreaterThan16

    GreaterThan16(ushort, ushort)

    Describes whether the non-wrapping difference between two sequenceIDs is less than 2^15 (or 0x8000, or 32768). (The "16" seems to be the 16th bit in a 16-bit integer.)

    Declaration
    public static bool GreaterThan16(ushort lhs, ushort rhs)
    Parameters
    Type Name Description
    ushort lhs

    The first operand.

    ushort rhs

    The second operand.

    Returns
    Type Description
    bool

    Whether or not the non-wrapping difference between the two operands is less than or equal to unsigned 0x7FFF.

    In This Article
    Back to top
    Copyright © 2023 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)