# operator +(Vector4, Vector4)

> Adds two vectors.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static Vector4 operator +(Vector4 a, Vector4 b)
```

### Parameters

**** (\[Vector4]\(/engine/6000.0/script-reference/unityengine/vector4)): The first vector to add.**** (\[Vector4]\(/engine/6000.0/script-reference/unityengine/vector4)): The second vector to add.

### Returns

| Type                                                              | Description |
| ----------------------------------------------------------------- | ----------- |
| [Vector4](/engine/6000.0/script-reference/unityengine/vector4.md) |             |

### Remarks

Adds corresponding components together.

### Examples

```csharp
using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void Start()
    {
        print(new Vector4(1, 2, 3, 4) + new Vector4(5, 6, 7, 8));
    }
}
```
