ContextMenuItemAttribute(string, string)
Use this attribute to add a context menu to a field that calls a named method.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public ContextMenuItemAttribute(string name, string function)