ドキュメント

Unity Engine

Unity Engine

GetHeight()

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual float GetHeight()

Returns

Type

Description

float

Remarks

The default is one line high. See DecoratorDrawer for an example of how to use this.