GetPropertyHeight(MaterialProperty, string, MaterialEditor)
Override this method to specify how tall the GUI for this property is in pixels.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public virtual float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
The default is one line high.