Versions with this page:
Versions without this page:
Возвращает абсолютное значени f.
f
// prints 10.5 Debug.Log(Mathf.Abs(-10.5));
Возвращает абсолютное значение value.
value
// prints 10 Debug.Log(Mathf.Abs(-10));