Class InputExtensions
Various useful extension methods.
Inheritance
InputExtensions
Syntax
public static class InputExtensions
Methods
IsActive(TouchPhase)
Declaration
public static bool IsActive(this TouchPhase phase)
Parameters
Returns
IsEndedOrCanceled(TouchPhase)
Declaration
public static bool IsEndedOrCanceled(this TouchPhase phase)
Parameters
Returns
IsModifierKey(Key)
Check if a Key enum value represents a modifier key.
Declaration
public static bool IsModifierKey(this Key key)
Parameters
Type |
Name |
Description |
Key |
key |
The key enum value you want to check.
|
Returns
IsTextInputKey(Key)
Check if a Key enum value represents key generating text input.
Declaration
public static bool IsTextInputKey(this Key key)
Parameters
Type |
Name |
Description |
Key |
key |
The key enum value you want to check.
|
Returns