#unity/日常积累

public static float Acos (float f);

描述

返回 f 的反余弦 - 其余弦为 f 的角度(以弧度为单位)。

1
2
3
4
5
6
7
8
using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        print(Mathf.Acos(0.5F));
    }
}