ドキュメント

Unity Engine

Unity Engine

EditorToolbarForTarget

Makes a toolbar populated with the collection of editor tools that match the EditorToolAttribute of the target object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

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.