Version 3.3.1.2

ProgressBarAttributeUlongDrawer class

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

Constructors

ProgressBarAttributeUlongDrawer()
public ProgressBarAttributeUlongDrawer()

Methods

ConvertToDouble(UInt64)
Converts the generic value to a double.
protected override double ConvertToDouble(ulong value)
Parameters
System.UInt64 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 ulong property.
protected override ulong 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.UInt64

Extension Methods