ドキュメント

Unity Engine

Unity Engine

GetPropertyHeight(SerializedProperty, GUIContent)

Override this method to specify how tall the GUI for this field is in pixels.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual float GetPropertyHeight(SerializedProperty property, GUIContent label)

Parameters

The SerializedProperty to make the custom GUI for.

The label of this property.

Returns

Type

Description

floatThe height in pixels.

Remarks

The default is one line high.