文档

Unity Engine

Download Unity

Unity Engine

AddDisabledItem(string, bool)

Adds a disabled item to this menu.
阅读时间1 分钟最后更新于 2 个月前

Definition

public abstract void AddDisabledItem(string itemName, bool isChecked)

Parameters

itemName

The text to display to the user.

isChecked

Indicates whether a checkmark next to the item is displayed.