Click or drag to resize

KeyboardModifierKeyFlagsContain(ModifierKeyFlags, KeyboardKeyCode) Method

Determines if the modifier key flags contains a specific key.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public static bool ModifierKeyFlagsContain(
	ModifierKeyFlags flags,
	KeyboardKeyCode key
)

Parameters

flags  ModifierKeyFlags
Modifier key flags.
key  KeyboardKeyCode
The key code of the key.

Return Value

Boolean
True if the modifier key flags contains a specific key, false if not.
See Also