文档

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
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.