Version: 2022.3

CoppaDrawer

class in UnityEditor.Connect


实现接口:IProjectEditorDrawer

切换到手册

描述

A container that fetches the UIElements that draw the COPPA compliance UI and subscribes to its events.

构造函数

CoppaDrawerThe default constructor for the COPPA UI drawer that subscribes to the callback events for the Cancel and Save buttons.

公共函数

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

Events

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.