文档

Unity Engine


User Manual

Script Reference

Unity Engine


EditorToolbar

Makes a toolbar populated with the specified collection of editor tools.
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

EditorToolbar(EditorTool[])

Makes a toolbar populated with the specified collection of editor tools.
public static void EditorToolbar(params EditorTool[] tools)

Parameters

The collection of editor tools for the toolbar.

EditorToolbar<T>(IList<T>)

Makes a toolbar populated with the specified collection of editor tools.
public static void EditorToolbar<T>(IList<T> tools) where T : EditorTool

Parameters

The collection of editor tools for the toolbar.