📜  如何在c#代码示例中生成随机数

📅  最后修改于: 2022-03-11 14:49:16.096000             🧑  作者: Mango

代码示例3
//works in visual studio for unity
int randomNumber = UnityEngine.Random.Range(1, 100);  //Random number between 1 and 99