文档

Unity Engine

Unity Engine

ProjectBindDrawer

A container that fetches the UIElements that draw the Project Binding UI, and subscribes to its events.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class ProjectBindDrawer : IProjectEditorDrawer, IDisposable

Constructors

Constructor

Description

ProjectBindDrawer()The default constructor for the Drawer that subscribes to the callback events for the Link and Create buttons.

Methods

Method

Description

DisposeDisposes of the UI.
GetVisualElementRetrieves the ProjectBind UI.

Events

Member

Description

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