Version: 5.5
public static float Rad2Deg ;

Description

Константа для конвертации радианов в градусы (Read Only).

Эквивалентно 360 / (PI * 2).

See Also: константа Deg2Rad

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."); } }