中文
Appearance
Mathf.Log(val, new_base)
Mathf
返回指定底数中指定数值的对数。
number
number?
//x的以new_base为底的对数 let log = Mathf.log(8,2) //log=3