기술 자료

Unity Engine

Unity Engine

CreatePropertyGUI(SerializedProperty)

Creates custom GUI with UI Toolkit for the property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual VisualElement CreatePropertyGUI(SerializedProperty property)

Parameters

The SerializedProperty to make the custom GUI for.

Returns

Type

Description

VisualElementThe element containing the custom GUI.

Remarks

See PropertyDrawer for an example of making a custom property drawer that uses CreatePropertyGUI.