Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Angle

Creates an Angle from a float and an optionnal AngleUnit.
Read time 1 minuteLast updated 6 days ago

Definition

Angle(float)

Creates an Angle from a float and an optionnal AngleUnit.
public Angle(float value)

Parameters

value

Remarks

AngleUnit.Degree is the default unit.

Angle(float, AngleUnit)

Creates an Angle from a float and an optionnal AngleUnit.
public Angle(float value, AngleUnit unit)

Parameters

Remarks

AngleUnit.Degree is the default unit.