Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EditorToolbarForTarget

Makes a toolbar populated with the collection of editor tools that match the EditorToolAttribute of the target object.
Read time 1 minuteLast updated 4 days ago

Definition

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

EditorToolbarForTarget(Object)

Makes a toolbar populated with the collection of editor tools that match the EditorToolAttribute of the target object.
public static void EditorToolbarForTarget(Object target)

Parameters

target

The target object.

EditorToolbarForTarget(GUIContent, Object)

Makes a toolbar populated with the collection of editor tools that match the EditorToolAttribute of the target object.
public static void EditorToolbarForTarget(GUIContent content, Object target)

Parameters

content

An optional prefix label.

target

The target object.