Indicates whether the key provided has been this frame and then throughout.
public static bool isKeyPressedAndHeld(
KeyCode
)
Parameters
- key
- The Unity KeyCode to check for. Can also accept an array or comma-delimited list of Unity KeyCodes.
Return Value
true if one or more of the keys indicated was and , false if not.