static function Sin (f : float) : float
Description描述
Returns the sine of angle f in radians.
计算并返回以弧度为单位指定的角 f 的正弦值。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public void Awake() {
print(Mathf.Sin(3));
}
}
print (Mathf.Sin(3));