-
Notifications
You must be signed in to change notification settings - Fork 1
normal_bar
Kamran Wali edited this page Nov 24, 2024
·
7 revisions
Inherits: base_bar
Inherited By: normal_bar_values
normal_bar acts like a normal bar which means that adding a value will just add the value and subtracting a value will just subtract it. To use this bar make sure to set the maximum value at the scene start otherwise the default value will be used as maximum which is 1. Optionally you can set the current value as well if you want to at the scene start otherwise its value will be 0.
| Return Type | Name |
|---|---|
| void | subtract( int value ) |
void subtract ( int value )
This method subtracts the _value_cur with the given value. While subtracting the _value_cur property will never go below 0. It will stop at 0.
TODO: Give the example here
- Tutorial Bar
- Tutorial Debug
- Tutorial Instantiate Object
- Tutorial Pool
- Tutorial Timer
- Tutorial Update Manager
- Tutorial Variable Creator
- Bars
- Debugs
- Maths
- Pools
- Resources
- Fixed Vars
- Managers
- Observers
- Vars
- Script Templates
- Timers
- Updates