Bootstrap

C#中Unity中,int如果做除法运算可能只会得到0

  • 如果你int a = 4,int b = 5,那么a / b = 0,所以,你要得到正确的小数,要用float
;