C# (CSharp) TraceRacer InputAction - 2 examples found. These are the top rated real world C# (CSharp) examples of TraceRacer.InputAction extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
Defines an action that is designated by some set of buttons and/or keys. The way actions work is that you define a set of buttons and keys that trigger the action. You can then evaluate the action against an InputState which will test to see if any of the buttons or keys are pressed by a player. You can also set a flag that indicates if the action only occurs once when the buttons/keys are first pressed or whether the action should occur each frame. Using this InputAction class means that you can configure new actions based on keys and buttons without having to directly modify the InputState type. This means more customization by your games without having to change the core classes of Game State Management.