Mathf.Tan

Switch to Manual
public static float Tan(float f);

Description

Returns the tangent of angle f in radians.

See Also: Cos, Sin.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print(Mathf.Tan(0.5F)); } }
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答