Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToolContextToolbar<T>(GUIContent, IList<T>)

Makes a toolbar populated with the specified collection of editor tool contexts.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void ToolContextToolbar<T>(GUIContent content, IList<T> contexts) where T : EditorToolContext

Parameters

content

An optional prefix label to display before the toolbar. Pass null to omit this prefix.

contexts

The collection of editor tools for the toolbar.