# SetReferenceValue(PropertyName, Object)

> Sets an ExposedReference value.

## Definition

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

```csharp
public void SetReferenceValue(PropertyName id, Object value)
```

### Parameters

**** (\[PropertyName]\(/engine/6000.6/script-reference/unityengine/propertyname)): Identifier of the ExposedReference.**** (\[Object]\(/engine/6000.6/script-reference/unityengine/object)): The object to bind to set the reference value to.
