Version: 2021.3

EditorGUILayout.ToolContextToolbar

切换到手册
public static void ToolContextToolbar (GUIContent content, IList<T> contexts);

参数

content An optional prefix label to display before the toolbar. Pass null to omit this prefix.
contexts 用于工具栏的编辑器工具集合。

描述

Makes a toolbar populated with the specified collection of editor tool contexts.