Mathf.Logstatic function Log (f : float, p : float) : floatDescriptionReturns the logarithm of a specified number in a specified base.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { print(Mathf.Log(6, 2)); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): print(Mathf.Log(6, 2)) static function Log (f : float) : floatDescriptionReturns the natural (base e) logarithm of a specified number.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { print(Mathf.Log(10)); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): print(Mathf.Log(10)) |
