Namespace mobisim.Battery
Namespaces
mobisim.Battery.EditorClasses
Base custom editor for battery system components which provides a shared inspector layout.
BatteryDrainSystemA component that enables time-based battery consumption for a BatterySystem. When enabled, it linearly drains the battery over time based on the configured battery life.
Custom editor for the BatteryDrainSystem component.
BatteryMessageRepresents a message containing the battery level. This message is used to notify other systems or components, such as a the battery bar UI, about the battery system's current battery level.
BatteryMessageRelayListens for BatteryMessage events via the IEventAggregator and relays the data through UnityEvent. This allows connecting to UI components or other systems in the Inspector.
BatterySystemTracks an actor's remaining power, broadcasts level updates to UI and analysis consumers each frame, and fires a one-time depletion event when the battery reaches its minimum value.
A component that manages a shareable portion of the main battery system's energy level.
Custom editor for the ShareableBatterySystem component.