기술 자료

Unity Engine

Unity Engine

MainToolbarDropdown(MainToolbarContent, Action<Rect>)

Specify the content and function of a main toolbar dropdown.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public MainToolbarDropdown(MainToolbarContent content, Action<Rect> openDropdown)

Parameters

The visual content for this button.

openDropdown

The callback that Unity invokes when the user selects the dropdown. Unity provides the
rect
where the dropdown appears as a parameter.