CoppaDrawer
A container that fetches the UIElements that draw the COPPA compliance UI and subscribes to its events.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Connect
- Assembly: UnityEditor
- Implements: IProjectEditorDrawer, IDisposable
public class CoppaDrawer : IProjectEditorDrawer, IDisposable
Constructors
Constructor | Description |
|---|---|
| CoppaDrawer() | The default constructor for the COPPA UI drawer that subscribes to the callback events for the Cancel and Save buttons. |
Methods
Method | Description |
|---|---|
| Dispose | Disposes of the UI. |
| GetVisualElement | A method that retrieves the Coppa compliance UI. |
Events
Member | Description |
|---|---|
| exceptionCallback | An event that fires when an exception is thrown within the COPPA Compliance UI. |
| stateChangeButtonFired | An event that fires when any button causes a state change within the COPPA compliance UI. |