InitState(uint)
Initialized the state of the Random instance with a given seed value. The seed must be non-zero.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public void InitState(uint seed = 1851936439)
Parameters
The seed to initialize with.