中文
Appearance
Random.NextInt()
Random
返回一个随机整数。
number
let random = new Random(); let num = random.NextInt(); Debug.Log(num);