-
Notifications
You must be signed in to change notification settings - Fork 1
Systems
Henry Wang edited this page Feb 12, 2024
·
1 revision
The battery system is comprised of a switch, battery holder and battery. The battery will only drain if the switch is on, battery has charge and the battery is in the holder.
There are two events to listen to in the battery system, when the battery starts draining and when it stops. These basically simulate when the system has power or not so on and off state.
The listeners are found in SciptableObjects/Events/BatterySystemEvents.cs. To subscribe to any of the listeners please see this page in the Wiki.