기술 자료

Unity Engine

Unity Engine

OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own IMGUI based GUI for the property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Parameters

position

Rectangle on the screen to use for the property GUI.

The SerializedProperty to make the custom GUI for.

The label of this property.