![]() |
FirstModulAR 0.1.0
|
A component that broadcasts the client's air tank values over the network. More...
Public Member Functions | |
| override void | OnNetworkSpawn () |
| Called when the network object is spawned. Registers the broadcaster with the AirManager and initializes the air value. | |
| override void | OnNetworkDespawn () |
| Called when the network object is despawned. Unregisters the broadcaster from the AirManager and cleans up event handlers. | |
| void | RefillTank () |
| Refills the air tank to a full state. This is to be used only on the client with authority. | |
Public Member Functions inherited from FMAR.Networking.FmarClientComponent | |
| void | Init (FmarClient client) |
Properties | |
| float | AirRemaining [get] |
| List< InspectorRow > | InspectorRows [get] |
| Gets the list of inspector widgets for this broadcaster. | |
Properties inherited from FMAR.Networking.FmarClientComponent | |
| FmarClient | Client [get] |
Properties inherited from FMAR.Internal.Inspectables.IInspectable | |
Additional Inherited Members | |
Protected Attributes inherited from FMAR.Networking.FmarClientComponent | |
| FmarClient | client |
A component that broadcasts the client's air tank values over the network.
|
inline |
Called when the network object is despawned. Unregisters the broadcaster from the AirManager and cleans up event handlers.
|
inline |
Called when the network object is spawned. Registers the broadcaster with the AirManager and initializes the air value.
|
inline |
Refills the air tank to a full state. This is to be used only on the client with authority.
|
get |
|
get |
Gets the list of inspector widgets for this broadcaster.
Implements FMAR.Internal.Inspectables.IInspectable.