PropertyDrawerExtensionsDrawFloatTextField Method |
Draw a float text field
Namespace:
DigitalRuby.WeatherMaker
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static void DrawFloatTextField(
this PropertyDrawer drawer,
Rect position,
string text,
string tooltip,
SerializedProperty prop
)
<ExtensionAttribute>
Public Shared Sub DrawFloatTextField (
drawer As PropertyDrawer,
position As Rect,
text As String,
tooltip As String,
prop As SerializedProperty
)
public:
[ExtensionAttribute]
static void DrawFloatTextField(
PropertyDrawer^ drawer,
Rect position,
String^ text,
String^ tooltip,
SerializedProperty^ prop
)
[<ExtensionAttribute>]
static member DrawFloatTextField :
drawer : PropertyDrawer *
position : Rect *
text : string *
tooltip : string *
prop : SerializedProperty -> unit
Parameters
- drawer
- Type: PropertyDrawer
Property drawer - position
- Type: Rect
Position - text
- Type: SystemString
Text - tooltip
- Type: SystemString
Tooltip - prop
- Type: SerializedProperty
Property
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