Click or drag to resize

KeyboardModifierKeyFlagsContain(ModifierKeyFlags, KeyCode) Method

Determines if the modifier key flags contains a specific key.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool ModifierKeyFlagsContain(
	ModifierKeyFlags flags,
	KeyCode key
)

Parameters

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

Return Value

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