# operator ++(uint2)

> Returns the result of a componentwise increment operation on a uint2 vector.

## Definition

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

```csharp
public static uint2 operator ++(uint2 val)
```

### Parameters

**** (\[uint2]\(/engine/6000.5/script-reference/unity/mathematics/uint2)): Value to use when computing the componentwise increment.

### Returns

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