docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Random Int

    Return a random integer number between Min [inclusive] and Max [exclusive]. Note: Random with Min = 0 and Max = 10 can return a number between 0 and 9.

    Ports

    Inputs

    Port Name Type Default Value Description
    [Integer] The minimum number used for the random generation.
    [Integer] 2147483647 The maximum number used for the random generation. This number will never be picked

    Outputs

    Port Name Type Default Value Description
    [Integer] Return the random integer number generated.
    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)