기술 자료

Unity Engine

Unity Engine

GetHeight()

Override this method to specify how tall the GUI for this decorator is in pixels.
읽는 시간 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.