public static float Rad2Deg ;

説明

ラジアンから度に変換する定数(読み取り専用)

This is equal to 360 / (PI * 2).

See Also: Deg2Rad constant.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public float rad = 10.0F; void Start() { float deg = rad * Mathf.Rad2Deg; Debug.Log(rad + " radians are equal to " + deg + " degrees."); } }