Holds a mapping of InputTriggerOptions to registered tags for deduplication checking.
More...
Holds a mapping of InputTriggerOptions to registered tags for deduplication checking.
If you're trying to add a trigger with the same tag, then just return and do nothing. If a new triggerOption and tag are added, it will overwrite the existing trigger(s). In other words: if triggerOption exists and tag in map is the same, do nothing if triggerOption exists and tag in map is different, write new tag to map
Add to input checker to the data structure.
If you're trying to add a trigger with the same tag, then just return and do nothing. If a new triggerOption and tag are added, it will overwrite the existing trigger(s). In other words: if triggerOption exists and tag in map is the same, do nothing if triggerOption exists and tag in map is different, write new tag to map
- Parameters
-
triggerOption | The InputTriggerOption that should be checked every Update tick |
tag | Unique identifier to show what part of the code registered the triggerOption |
newInputCheckers | The types of KeyCode checks to perform in the Update tick. |