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時,它夾在兩個整數之間,這兩個整數一個是奇數一個是偶數,函數將返回那個偶數。數字