1. Mathf.RoundToInt 函数函数
If the number ends in .5 so it is halfway between two integers, one of which is even(偶数) and the other odd(奇数), the even number is returned.it
注意的是,当数字最后为.5时,它夹在两个整数之间,这两个整数一个是奇数一个是偶数,函数将返回那个偶数。数字