기술 자료

Unity Engine

Unity Engine

ToolContextToolbarForTarget(GUIContent, Object)

Makes a toolbar populated with the collection of EditorToolContext that match the targetType of the target object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.