中文
Appearance
Mathf.FloorToInt(value)
Mathf
返回小于或等于value的最大整数。
number
//求小于或等于value的最大整数 let floorToInt = Mathf.CeilToInt(4.5) //floorToInt=5