文档

Unity Engine

Unity Engine

PushItem(string, Action)

Adds an item to the end of the breadcrumbs, which makes that item the deepest item in the hierarchy.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void PushItem(string label, Action clickedEvent = null)

Parameters

label

The text to display for the item in the breadcrumb toolbar.

clickedEvent

The action to perform when the a users clicks the item in the toolbar.