# SetReferenceObject<U>(U, Object)

> Sets the bound object to a new value. Used to associate an output to an object (Track asset in case of Timeline).

## Definition

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

## SetReferenceObject\<T>(T, Object)

```csharp
public static void SetReferenceObject<U>(this U output, Object value) where U : struct, IPlayableOutput
```

### Parameters

**** (T): The [PlayableOutput](/engine/6000.5/script-reference/unityengine/playables/playableoutput.md) used by this operation.**** (\[Object]\(/engine/6000.5/script-reference/unityengine/object)): The new reference object value.
