ToolContextToolbar<T>(GUIContent, IList<T>)
Makes a toolbar populated with the specified collection of editor tool contexts.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void ToolContextToolbar<T>(GUIContent content, IList<T> contexts) where T : EditorToolContext
Parameters
An optional prefix label to display before the toolbar. Pass null to omit this prefix.
The collection of editor tools for the toolbar.