Class OptionalFloatDrawer
Draws the Inspector GUI for an optional float property
Inheritance
OptionalFloatDrawer
Inherited Members
Namespace: Unity.AppUI.Editor
Assembly: Unity.AppUI.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(Optional<float>))]
public class OptionalFloatDrawer : OptionalValuePropertyDrawer<float, FloatField>
Methods
SetValue(float)
Sets the value of the property in the serialized object
Declaration
protected override void SetValue(float newValue)
Parameters
Type | Name | Description |
---|---|---|
float | newValue | The new value of the property |