# defaultReflectionSet

> Adds a delegate to get notifications when the default specular Cubemap is changed.

## Definition

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

> **Warning:**
>
> **Removed.** ReflectionProbe.defaultReflectionSet has been deprecated. Use ReflectionProbe.defaultReflectionTexture.
>
> **Upgrade to** [ReflectionProbe.defaultReflectionTexture](/engine/6000.7/script-reference/unityengine/reflectionprobe/defaultreflectiontexture.md)

```csharp
public static event Action<Cubemap> defaultReflectionSet
```

### Remarks

This event is now obsolete.  You should instead use the defaultReflectionTexture event. Note that mixing this callback and the new defaultReflectionTexture event might cause the event event to be fired multiple times (with the same argument).

Additional Resources: ReflectionProbe [ReflectionProbe.defaultReflectionTexture](/engine/6000.7/script-reference/unityengine/reflectionprobe/defaultreflectiontexture.md).
