InputMethod
public enum InputMethod
An enumeration that defines the different types of inputs that are used in the game.
-
The input is active once and remains active permanently.
Declaration
Swift
case activeOncePermanently -
The input is active when a player interacts with it, either by distance or collision.
Declaration
Swift
case activeByPlayerIntervention -
The input is active on a timer and then deactivates.
Declaration
Swift
case activeOnTimer -
The input is active and can be toggled accordingly.
Declaration
Swift
case activeOnToggle