中文
Appearance
Mathf.Round(val)
Mathf
返回rd四舍五入到最接近的整数。
number
//rd四舍五入到最接近的整数 let round = Mathf.Round(3.2) //round=3