docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method InitState

    InitState(uint)

    Initialized the state of the Random instance with a given seed value. The seed must be non-zero.

    Declaration
    public void InitState(uint seed = 1851936439)
    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)