# AddNotificationReceiver<U>(U, INotificationReceiver)

> Registers a new receiver that listens for notifications.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Playables](/engine/6000.3/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.CoreModule

## AddNotificationReceiver\<T>(T, INotificationReceiver)

```csharp
public static void AddNotificationReceiver<U>(this U output, INotificationReceiver receiver) where U : struct, IPlayableOutput
```

### Parameters

**** (T): The target output.**** (\[INotificationReceiver]\(/engine/6000.3/script-reference/unityengine/playables/inotificationreceiver)): The receiver to register.
