Class BatteryMessage
Represents 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.
public class BatteryMessage : IMessage
Inheritance
Implements
Constructors
BatteryMessage(float)
Initializes a new instance of the BatteryMessage class message.
public BatteryMessage(float value)
Parameters
| Name | Type | Description |
|---|---|---|
value | float |