Version 3.3.1.2

UnitAttributeFloatDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public class UnitAttributeFloatDrawer : UnitAttributeDrawer<float>, IDefinesGenericMenuItems
Inheritance

Constructors

UnitAttributeFloatDrawer()
public UnitAttributeFloatDrawer()

Methods

DrawField(FieldExpressionContext, GUIContent, Single, UnitInfo, UnitInfo)
protected override float DrawField(FieldExpressionContext fieldExpressionContext, GUIContent label, float value, UnitInfo baseUnitInfo, UnitInfo displayUnitInfo)
Parameters
FieldExpressionContext fieldExpressionContext

UnityEngine.GUIContent label

System.Single value

UnitInfo baseUnitInfo

UnitInfo displayUnitInfo

Returns
System.Single

Extension Methods