Class GradientDrawer
[CustomSuperPropertyDrawer(typeof(Gradient))]
public class GradientDrawer : SuperPropertyDrawer
- Inheritance
-
GUIDrawerGradientDrawer
- 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
position
RectRectangle on the screen to use for the property GUI.
property
SuperSerializedPropertyThe SuperSerializedProperty to make the custom GUI for.
label
GUIContentThe label of the property.