![]() |
BomberUnits
...a Unity learning project
|
Holds the Input axes of a given input setting. More...
Collaboration diagram for InputScheme:Public Member Functions | |
| InputScheme (string description, string horizontal, string vertical, string fire) | |
| void | Register () |
| void | Use () |
| void | Free () |
| void | UseInsteadOf (InputScheme previous) |
| bool | IsInUse () |
| override string | ToString () |
Static Public Member Functions | |
| static InputScheme | FromKey (int dictKey) |
| static InputScheme | FromName (string description) |
| static InputScheme | GetInvalid () |
| static IEnumerable< InputScheme > | GetAll () |
| static InputScheme | GetNextUnused () |
| static int | GetCount () |
Public Attributes | |
| string | description |
| string | horizontal |
| string | vertical |
| string | fire |
Properties | |
| int | dictKey [get, private set] |
Private Attributes | |
| bool | inUse |
Static Private Attributes | |
| static Dictionary< int, InputScheme > | instances = new Dictionary<int, InputScheme>() |
Holds the Input axes of a given input setting.
A list of available schemes is kept in player management One scheme is assigned to each local player, marking this scheme as taken in the process.
Definition at line 9 of file InputScheme.cs.