# consentStateChanged

> Occurs when the consent state of the user changes. The argument is the new consent state.

## Definition

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

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