docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MinValueAttribute

    MinValueAttribute(float)

    Attribute used to make a float or int variable in a script be restricted to a specific minimum value.

    Declaration
    public MinValueAttribute(float min)
    Parameters
    Type Name Description
    float min

    The minimum allowed value.

    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)