EditorToolContextAttribute(string, Type)
Registers an EditorToolContext as either a global tool context or a Component tool context.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor.CoreModule
public EditorToolContextAttribute(string displayName = "", Type targetType = null)