KeyLocation
C# enumeration.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Fields and constants3
LeftField
Left = 1A key which is to the left of its twin.
RightField
Right = 2A key which is to the right of its twin.
UnspecifiedField
Unspecified = 0Used for keys which only appear once, or when a comparison doesn't need to differentiate the Vector2.Left and Vector2.Right versions.
For example, when using InputEvent.IsMatch, an event which has KEY_LOCATION_UNSPECIFIED will match any KeyLocation on the passed event.
Reckfell Engine documentationBack to top ↑