Skip to main content

Bar Effects

Master GPU Health Bar provides various visual effects for the bar, including:

  • Crack effect
  • Flowing aura effect
  • Inner Glow
  • Outline

Crack Effect

Crack effect is a runtime effect of the bar.

It can be toggle On/Off during runtime via:

public HealthBar player;
void ToggleCrack(bool _visible){
player.ActiveCrack = _visible;
}

//or

public BarUI playerBar;
void ToggleCrack(bool _visible){
playerBar.ActiveCrack = _visible;
}

You could replace the texture in: Assets/SoftKitty/MasterHealthBarSystem/Textures/Classical/Crack.png


Flowing Aura Effect

Flowing aura effect is a looping effect overlaid on the bar. It can not be toggle on/off during runtime, but different BarSetting can have different flowing aura intensity.

You can adjust the intensity of this effect in the BarSetting.

You could replace the texture in: Assets/SoftKitty/MasterHealthBarSystem/Textures/Classical/Energy.png


Inner Glow

Inner glow effect is a runtime effect of the bar.

You can adjust the color of this effect in the BarSetting.

It can be toggle On/Off during runtime via:

public HealthBar player;
void ToggleInnerGlow(bool _visible){
player.ActiveInnerLine = _visible;
}

//or

public BarUI playerBar;
void ToggleInnerGlow(bool _visible){
playerBar.ActiveInnerLine = _visible;
}

Outline

Outline effect is a runtime effect of the bar.

You can adjust the color of this effect in the BarSetting.

It can be toggle On/Off during runtime via:

public HealthBar player;
void ToggleOutline(bool _visible){
player.ActiveOutline = _visible;
}

//or

public BarUI playerBar;
void ToggleOutline(bool _visible){
playerBar.ActiveOutline = _visible;
}