Namespace: | Sirenix.Utilities.Editor |
Assembly: | Sirenix.Utilities.Editor |
public struct ProgressBarConfig
public ProgressBarConfig(ProgressBarConfig config)
ProgressBarConfig | config | The configuration to copy. |
public ProgressBarConfig(int height, Color foregroundColor, Color backgroundColor, bool textOverlay, TextAlignment overlayAlignment)
System.Int32 | height | The height of the progress bar. |
UnityEngine.Color | foregroundColor | The foreground color of the progress bar. |
UnityEngine.Color | backgroundColor | The background color of the progress bar. |
System.Boolean | textOverlay | If |
UnityEngine.TextAlignment | overlayAlignment | The alignment of the text overlay. |
public Color BackgroundColor
true
the progress bar field will draw a label ontop to show the current value.
public bool DrawValueLabel
public Color ForegroundColor
public int Height
public TextAlignment ValueLabelAlignment
public static ProgressBarConfig Default { get; }