Struct ModifierKeyCombo
Assembly: QFSW.QC.dll
Syntax
[Serializable]
public struct ModifierKeyCombo
Fields
Alt
Declaration
[FormerlySerializedAs("alt")]
public bool Alt
Field Value
Ctrl
Declaration
[FormerlySerializedAs("ctrl")]
public bool Ctrl
Field Value
Key
Declaration
[FormerlySerializedAs("key")]
public KeyCode Key
Field Value
Type |
Description |
UnityEngine.KeyCode |
|
Shift
Declaration
[FormerlySerializedAs("shift")]
public bool Shift
Field Value
Properties
ModifiersActive
Declaration
public bool ModifiersActive { get; }
Property Value
Methods
IsHeld()
Declaration
Returns
IsPressed()
Declaration
Returns
Operators
Implicit(KeyCode to ModifierKeyCombo)
Declaration
public static implicit operator ModifierKeyCombo(KeyCode key)
Parameters
Type |
Name |
Description |
UnityEngine.KeyCode |
key |
|
Returns
Extension Methods