SyncedKeyKeyMode Enumeration

Key behavior mode

Definition

Namespace: Alteruna.Multiplayer.InputSynchronizable
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public enum KeyMode

Members

DoubleTap0 True during the frame the user pressing down the key for the second time withing time defined in DoubleTapTime.
KeyDown1 True during the frame the user starts pressing down the key.
KeyPress2 True while the user holds down the key.
KeyUp3 True during the frame the user releases the key.
ToggleDoubleTap4 True during the frame the user pressing down the key for the second time withing time defined in DoubleTapTime.
ToggleKeyDown5 Toggles the value when user starts pressing down the key.
ToggleKeyUp6 Toggles the value when user releases the key.

See Also