Version 2.1.0.0

ProgressBarConfig struct

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.Utilities.Editor
public struct ProgressBarConfig
Configuration for progress bar fields.

Constructors

ProgressBarConfig(ProgressBarConfig)
Creates a copy of the configuration.
public ProgressBarConfig(ProgressBarConfig config)
Parameters
ProgressBarConfig config

The configuration to copy.

ProgressBarConfig(Int32, Color, Color, Boolean, TextAlignment)
Creates a progress bar configuration.
public ProgressBarConfig(int height, Color foregroundColor, Color backgroundColor, bool textOverlay, TextAlignment overlayAlignment)
Parameters
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 true there will be drawn a overlay on top of the field.

UnityEngine.TextAlignment overlayAlignment

The alignment of the text overlay.

Fields

BackgroundColor
The background color of the progress bar field.
public Color BackgroundColor
DrawValueLabel
If true the progress bar field will draw a label ontop to show the current value.
public bool DrawValueLabel
ForegroundColor
The foreground color of the progress bar field.
public Color ForegroundColor
Height
The height of the progress bar field. Default 12 pixel.
public int Height
ValueLabelAlignment
Alignment of the progress bar field overlay.
public TextAlignment ValueLabelAlignment

Properties

Default
Default configuration.
public static ProgressBarConfig Default { get; }

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.