ドキュメント

Unity Engine

Unity Engine

OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own IMGUI based GUI for the property.
読み終わるまでの所要時間 1 分最終更新 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.