Class DecalLayerDrawer
Inherited Members
Namespace: Unity.MARS
Syntax
[CustomPropertyDrawer(typeof(DecalLayer))]
public class DecalLayerDrawer : PropertyDrawer
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | property | |
GUIContent | label |
Returns
Type | Description |
---|---|
Single |
Overrides
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Rect | position | |
SerializedProperty | property | |
GUIContent | label |