Namespace: | Sirenix.OdinInspector.Editor.Drawers |
Assembly: | Sirenix.OdinInspector.Editor |
public abstract class BaseProgressBarAttributeDrawer<T> : OdinAttributeDrawer<ProgressBarAttribute, T>
protected BaseProgressBarAttributeDrawer()
protected abstract double ConvertToDouble(T value)
T | value | The generic value to convert. |
System.Double | The generic value as a double. |
protected abstract T DrawProgressBar(Rect rect, GUIContent label, double min, double max, ProgressBarConfig config, string valueLabel)
UnityEngine.Rect | rect | |
UnityEngine.GUIContent | label | |
System.Double | min | |
System.Double | max | |
ProgressBarConfig | config | |
System.String | valueLabel |
T |
protected override void DrawPropertyLayout(GUIContent label)
UnityEngine.GUIContent | label |
protected override void Initialize()