Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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

DisposeDisposes of the UI.
GetVisualElementA method that retrieves the Coppa compliance UI.

Events

Member

Description

exceptionCallbackAn event that fires when an exception is thrown within the COPPA Compliance UI.
stateChangeButtonFiredAn event that fires when any button causes a state change within the COPPA compliance UI.