---
title: Add
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/animationstreamblendingextensions/add
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/animationstreamblendingextensions/add.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:28:47.576Z
locale: en-us
---

# Add

> Adds stream values to the current stream.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

## Add(AnimationStream, AnimationStream)

Adds stream values to the current stream.

```csharp
public static void Add(this ref AnimationStream stream, in AnimationStream add)
```

### Parameters

**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream to modify. The method stores the result in this stream.**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream to add.

## Add(AnimationStream, AnimationStream, AnimationStream)

Adds two input streams and stores the result in the stream.

```csharp
public static void Add(this ref AnimationStream stream, in AnimationStream input1, in AnimationStream input2)
```

### Parameters

**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream that receives the result. The method overwrites its previous contents.**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The first stream to add.**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The second stream to add.
