Page cover

Healthbar Widget

This page aims to explain the technical details of the Healthbar Widget. Here, you will find tables showing the available properties and functions for this component.


Overview

The Healthbar Widget contains one property, two functions and no event dispatchers. This section of the page contains detailed information about each of these elements, presented in tables for easier understanding.

1 Properties

2 Functions

0 Event Dispatcher

Properties

The Healthbar Widget comes with a selection of properties that are used throughout the system. Below, you will find a table containing all the properties and some general information.

Name
Type
Description

Healthbar

Progress Bar

This is the UI element used to display the current health percentage.

Functions

The Healthbar Widget comes with a range of public and private functions that can be used to access or modify route data. Below, you will find a table containing details of all the widgets functions and some general information.

Name
Access
Description

On State Change

private

Called when the health system's state changes. It shows/hides the health bar based on the new state.

On Value Change

private

Called when the value of the health system changes. This updates the UI progress bar.

Last updated