DoopelPonger
Public Member Functions | Public Attributes | List of all members
ContinuousPressInputChecker Class Reference

InputChecker that will call the trigger every frame the key is pressed. More...

Inheritance diagram for ContinuousPressInputChecker:
Inheritance graph
[legend]
Collaboration diagram for ContinuousPressInputChecker:
Collaboration graph
[legend]

Public Member Functions

 ContinuousPressInputChecker (InputManager.InputTriggerOption triggerOption, InputActionMapper.Action action, InputManager.ButtonPressTrigger trigger, string tag)
 
override InputCheckerAction GetCheckerAction ()
 Method called every Update tick to see if the inputTriggerOption should be actived. More...
 
override string GetIdentifierString ()
 
- Public Member Functions inherited from InputChecker
 InputChecker (InputManager.InputTriggerOption inputTriggerOption, string tag)
 

Public Attributes

readonly InputManager.ButtonPressTrigger trigger
 
- Public Attributes inherited from InputChecker
readonly string tag
 
readonly InputManager.InputTriggerOption inputTriggerOption
 

Additional Inherited Members

- Protected Attributes inherited from InputChecker
InputActionMapper inputActionMapper
 

Detailed Description

InputChecker that will call the trigger every frame the key is pressed.

Constructor & Destructor Documentation

◆ ContinuousPressInputChecker()

ContinuousPressInputChecker.ContinuousPressInputChecker ( InputManager.InputTriggerOption  triggerOption,
InputActionMapper.Action  action,
InputManager.ButtonPressTrigger  trigger,
string  tag 
)

Member Function Documentation

◆ GetCheckerAction()

override InputCheckerAction ContinuousPressInputChecker.GetCheckerAction ( )
virtual

Method called every Update tick to see if the inputTriggerOption should be actived.

Returns
A function to call in the next FixedUpdate.

Implements InputChecker.

◆ GetIdentifierString()

override string ContinuousPressInputChecker.GetIdentifierString ( )
virtual
Returns
Unique identifier for the type of input the child object is checking.

Implements InputChecker.

Member Data Documentation

◆ trigger

readonly InputManager.ButtonPressTrigger ContinuousPressInputChecker.trigger

The documentation for this class was generated from the following file: