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.
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.
Healthbar
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.
On State Change
Called when the health system's state changes. It shows/hides the health bar based on the new state.
On Value Change
Called when the value of the health system changes. This updates the UI progress bar.
Last updated