# operator +

> Returns the result of a componentwise addition operation on two uint2 vectors.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.5/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## operator +(uint2, uint2)

Returns the result of a componentwise addition operation on two uint2 vectors.

```csharp
public static uint2 operator +(uint2 lhs, uint2 rhs)
```

### Parameters

**** (\[uint2]\(/engine/6000.5/script-reference/unity/mathematics/uint2)): Left hand side uint2 to use to compute componentwise addition.**** (\[uint2]\(/engine/6000.5/script-reference/unity/mathematics/uint2)): Right hand side uint2 to use to compute componentwise addition.

### Returns

| Type                                                                | Description                                 |
| ------------------------------------------------------------------- | ------------------------------------------- |
| [uint2](/engine/6000.5/script-reference/unity/mathematics/uint2.md) | uint2 result of the componentwise addition. |

## operator +(uint2, uint)

Returns the result of a componentwise addition operation on a uint2 vector and a uint value.

```csharp
public static uint2 operator +(uint2 lhs, uint rhs)
```

### Parameters

**** (\[uint2]\(/engine/6000.5/script-reference/unity/mathematics/uint2)): Left hand side uint2 to use to compute componentwise addition.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Right hand side uint to use to compute componentwise addition.

### Returns

| Type                                                                | Description                                 |
| ------------------------------------------------------------------- | ------------------------------------------- |
| [uint2](/engine/6000.5/script-reference/unity/mathematics/uint2.md) | uint2 result of the componentwise addition. |

## operator +(uint, uint2)

Returns the result of a componentwise addition operation on a uint value and a uint2 vector.

```csharp
public static uint2 operator +(uint lhs, uint2 rhs)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Left hand side uint to use to compute componentwise addition.**** (\[uint2]\(/engine/6000.5/script-reference/unity/mathematics/uint2)): Right hand side uint2 to use to compute componentwise addition.

### Returns

| Type                                                                | Description                                 |
| ------------------------------------------------------------------- | ------------------------------------------- |
| [uint2](/engine/6000.5/script-reference/unity/mathematics/uint2.md) | uint2 result of the componentwise addition. |
