docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLastEnumValue

    GetLastEnumValue<T>()

    Get the last declared value from an enum Type

    Declaration
    public static T GetLastEnumValue<T>() where T : Enum
    Returns
    Type Description
    T

    Last value of the enum

    Type Parameters
    Name Description
    T

    Type of the enum

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