기술 자료

Unity Engine

Unity Engine

EditorToolbarForTarget

Makes a toolbar populated with the collection of editor tools that match the EditorToolAttribute of the target object.
읽는 시간 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.