Indicates whether the key provided has been down during the frame.
public static bool isKeyHeld(
UnityEngine.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 , false if not.