This version of Unity is unsupported.

Mathf.Exp

Switch to Manual

Declaration

public static float Exp(float power);

Description

Returns e raised to the specified power.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { print(Mathf.Exp(6)); } }