Объявление
public static float Log10(float f);Описание
Возвращает логарифм указанного числа по основанию 10.
using UnityEngine;
public class Example : MonoBehaviour
{
void Start()
{
// logarithm of 100 in base 10
// Prints 2
print(Mathf.Log10(100));
}
}