docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Random

    Random(uint)

    Constructs a Random instance with a given seed value. The seed must be non-zero.

    Declaration
    public Random(uint seed)
    Parameters
    Type Name Description
    uint seed

    The seed to initialize with.

    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)