Class BoundsIntDrawer
[CustomSuperPropertyDrawer(typeof(BoundsInt))]
public class BoundsIntDrawer : SuperPropertyDrawer
- Inheritance
-
GUIDrawerBoundsIntDrawer
- Inherited Members
Methods
GetPropertyHeight(SuperSerializedProperty, GUIContent)
Override this method to specify how tall the GUI for this field is in pixels.
public override float GetPropertyHeight(SuperSerializedProperty property, GUIContent label)
Parameters
propertySuperSerializedPropertyThe SuperSerializedProperty to get the height for.
labelGUIContentThe label of the property.
Returns
- float
The height of the GUI for this field in pixels.
OnGUI(Rect, SuperSerializedProperty, GUIContent)
Override this method to make your own IMGUI based GUI for the property.
public override void OnGUI(Rect position, SuperSerializedProperty property, GUIContent label)
Parameters
positionRectRectangle on the screen to use for the property GUI.
propertySuperSerializedPropertyThe SuperSerializedProperty to make the custom GUI for.
labelGUIContentThe label of the property.