# Angle

> Creates an Angle from a float and an optionnal AngleUnit.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Angle(float)

Creates an Angle from a float and an optionnal [AngleUnit](/engine/6000.6/script-reference/unityengine/uielements/angleunit.md).

```csharp
public Angle(float value)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)):&#x20;

### Remarks

[AngleUnit.Degree](/engine/6000.6/script-reference/unityengine/uielements/angleunit/degree.md) is the default unit.

## Angle(float, AngleUnit)

Creates an Angle from a float and an optionnal [AngleUnit](/engine/6000.6/script-reference/unityengine/uielements/angleunit.md).

```csharp
public Angle(float value, AngleUnit unit)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): **** (\[AngleUnit]\(/engine/6000.6/script-reference/unityengine/uielements/angleunit)):&#x20;

### Remarks

[AngleUnit.Degree](/engine/6000.6/script-reference/unityengine/uielements/angleunit/degree.md) is the default unit.
