Version 2.1.0.0

ProgressBarAttributedoubleDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public sealed class ProgressBarAttributedoubleDrawer : BaseProgressBarAttributeDrawer<double>
Draws values decorated with ProgressBarAttribute.
Inheritance

Constructors

ProgressBarAttributedoubleDrawer()
public ProgressBarAttributedoubleDrawer()

Methods

ConvertToDouble(Double)
Converts the generic value to a double.
protected override double ConvertToDouble(double value)
Parameters
System.Double value

The generic value to convert.

Returns
System.Double

The generic value as a double.

DrawProgressBar(Rect, GUIContent, Double, Double, ProgressBarConfig, String)
Draws a progress bar for a double property.
protected override double DrawProgressBar(Rect rect, GUIContent label, double min, double max, ProgressBarConfig config, string valueLabel)
Parameters
UnityEngine.Rect rect

UnityEngine.GUIContent label

System.Double min

System.Double max

ProgressBarConfig config

System.String valueLabel

Returns
System.Double

Extension Methods