Click or drag to resize

PropertyDrawerExtensionsDrawRangeField Method

Draw a range field

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void DrawRangeField(
	this PropertyDrawer drawer,
	Rect position,
	SerializedProperty prop,
	GUIContent label,
	bool floatingPoint
)

Parameters

drawer
Type: PropertyDrawer
Property drawer
position
Type: Rect
Position
prop
Type: SerializedProperty
Property
label
Type: GUIContent
Label
floatingPoint
Type: SystemBoolean
True for float, false for int

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyDrawer. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also