摘要: 1.C#自带随机数函数 using System; System.Random ran = new System.Random();int n = ran.Next(100, 1000);//产生100到999之间的随机整数 Debug.Log (n); 2.Unity自带随机数函数 using U 阅读全文
posted @ 2016-10-23 16:04 Shiyu_Huang 阅读(810) 评论(0) 推荐(0)