FontDataDrawer

class in UnityEditor.UI

/

Inherits from:PropertyDrawer

Switch to Manual

Description

FontData 的 PropertyDrawer。

这是 FontData 的 PropertyDrawer,它使用标准 Unity PropertyDrawer 框架实现。

Protected Functions

Init初始化绘制器的序列化属性。

Inherited members

Variables

attribute此属性的 PropertyAttribute。不适用于自定义类绘制器。(只读)
fieldInfo此属性所表示的成员的反射 FieldInfo。(只读)

Public Functions

CanCacheInspectorGUI重载此方法可确定您的属性的检视面板 GUI 是否可以缓存。
GetPropertyHeight重载此方法可指定此字段的 GUI 的高度(以像素为单位)。
OnGUIOverride this method to make your own IMGUI based GUI for the property.