displayName
Optional override of the Shortcut ID when listing the Shortcut in the configuration interface.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
public string displayName { get; set; }
Remarks
Allows the shortcut to be displayed in a different category and with a different name than the Shortcut ID, so allows developers to rename or recategorize Shortcuts while preserving existing mappings. Defaults to Shortcut ID.