文档

Unity Engine

Download Unity

Unity Engine

menuItem

Holds a sanitized reference to the name of the menu item as a path.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public string menuItem

Remarks

This field stores the value set by the
itemName
parameter passed to the constructor. The field is public only for the benefit of Unity systems. Initialize it via the constructor parameter and don't modify it again.