docs.unity.cn
    Show / Hide Table of Contents

    Method InitState

    InitState(UInt32)

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

    Declaration
    public void InitState(uint seed = 1851936439U)
    Parameters
    Type Name Description
    UInt32 seed

    The seed to initialize with.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use