# consentStateChanged

> Occurs when the consent state of the user changes.

## Definition

* **Type:** Event
* **Namespace:** [UnityEngine.UnityConsent](/engine/6000.6/script-reference/unityengine/unityconsent.md)
* **Assembly:** UnityEngine.UnityConsentModule

```csharp
public static event Action<ConsentState> consentStateChanged
```
