Class ProgressBarCondition
Changes the visual appearance of the progress bar or starts the pulsing animation effect when the progress bar value reaches a certain percentage.
Inheritance
object
ProgressBarCondition
Assembly: cs.temp.dll.dll
Syntax
public class ProgressBarCondition : ScriptableObject
Fields
BackgroundColor
Declaration
public Color BackgroundColor
Field Value
BordersColor
Declaration
public Color BordersColor
Field Value
ChangeBackgroundColor
Declaration
public bool ChangeBackgroundColor
Field Value
ChangeBordersColor
Declaration
public bool ChangeBordersColor
Field Value
ChangeDecreaseSegmentColor
Declaration
public bool ChangeDecreaseSegmentColor
Field Value
ChangeFillSegmentColor
Declaration
public bool ChangeFillSegmentColor
Field Value
ChangeIncreaseSegmentColor
Declaration
public bool ChangeIncreaseSegmentColor
Field Value
ChangeIndicatorColor
Declaration
public bool ChangeIndicatorColor
Field Value
DecreaseSegmentColor
Declaration
public Color DecreaseSegmentColor
Field Value
FillSegmentColor
Declaration
public Color FillSegmentColor
Field Value
IncreaseSegmentColor
Declaration
public Color IncreaseSegmentColor
Field Value
IndicatorColor
Declaration
public Color IndicatorColor
Field Value
Pulse
Declaration
Field Value
Properties
FloatValueCondition
Declaration
public FloatValueCondition FloatValueCondition { get; protected set; }
Property Value
Type |
Description |
FloatValueCondition |
|
Methods
ApplyChanges(ProgressBar)
Declaration
public virtual void ApplyChanges(ProgressBar progressBar)
Parameters
IsMet(float)
Declaration
public bool IsMet(float value)
Parameters
Type |
Name |
Description |
float |
value |
|
Returns
RevertChanges(ProgressBar)
Declaration
public virtual void RevertChanges(ProgressBar progressBar)
Parameters