Mathf.Atan
public static float Atan(float f);
Description 描述
Returns the arc-tangent of f - the angle in radians whose tangent is f.
using UnityEngine;
public class ScriptExample : MonoBehaviour { void Start() { print(Mathf.Atan(0.5f)); } }
Returns the arc-tangent of f - the angle in radians whose tangent is f.
using UnityEngine;
public class ScriptExample : MonoBehaviour { void Start() { print(Mathf.Atan(0.5f)); } }