Class FloatDrawer
[CustomSuperPropertyDrawer(typeof(float))]
public class FloatDrawer : SuperPropertyDrawer
- Inheritance
-
GUIDrawerFloatDrawer
- Inherited Members
Methods
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.