Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToolContextToolbarForTarget(GUIContent, Object)

Makes a toolbar populated with the collection of EditorToolContext that match the targetType of the target object.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void ToolContextToolbarForTarget(GUIContent content, Object target)

Parameters

content

An optional prefix label. Pass null to omit the label.

target

The target object. This may be either a Component or an Editor.