![]() |
Liberi
An exergame built for kids with CP!
|
Manages game devices. More...
Inherits MonoBehaviour.
Public Member Functions | |
| bool | IsDeviceEnabled (string deviceId) |
| Checks if the device with the given ID is enabled. More... | |
| void | EnableDevice (string deviceId) |
| Enables a device by ID. More... | |
| void | DisableDevice (string deviceId) |
| Disables a device by ID. More... | |
| UJeli | GetDeviceSaveOptions (string deviceId) |
| Returns the relevant save option jeli of a device by ID. More... | |
| void | ConfigureFireAnt () |
| void | StartFireAnt () |
Properties | |
| static DeviceManager | Instance [get] |
| Gets the sole instance of the device manager. More... | |
| string[] | DeviceIDs [get] |
| Gets an array of the IDs of all registered devices. More... | |
| Process | FireAntProcess [get] |
Manages game devices.
Definition at line 13 of file DeviceManager.cs.
|
inline |
Disables a device by ID.
Definition at line 77 of file DeviceManager.cs.
|
inline |
Enables a device by ID.
Definition at line 63 of file DeviceManager.cs.
|
inline |
Returns the relevant save option jeli of a device by ID.
Definition at line 91 of file DeviceManager.cs.
|
inline |
Checks if the device with the given ID is enabled.
Definition at line 51 of file DeviceManager.cs.
|
get |
Gets an array of the IDs of all registered devices.
Definition at line 27 of file DeviceManager.cs.
|
staticget |
Gets the sole instance of the device manager.
Definition at line 19 of file DeviceManager.cs.