docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DidChange

    DidChange(uint, uint)

    Test whether two version numbers indicate that a change has occurred.

    Declaration
    public static bool DidChange(uint changeVersion, uint requiredVersion)
    Parameters
    Type Name Description
    uint changeVersion

    The newer/current version number

    uint requiredVersion

    The previous version number.

    Returns
    Type Description
    bool

    True if changeVersion is greater than requiredVersion, or if requiredVersion is zero.

    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)