文档

Unity Engine

Unity Engine

Random(uint)

Constructs a Random instance with a given seed value. The seed must be non-zero.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public Random(uint seed)

Parameters

seed

The seed to initialize with.