I am trying to change the value in an Input Action Hold Trigger at runtime, but I am having difficulty finding the correct way to access the live version.
Retrieving the trigger from the output of the input action event only modifies the data asset version in the Content Browser.
The screenshot shows an attempt
, but it fails — GetAllPlayerMappableActionKeyMappings returns 0.
I am aware I can change the value at runtime and request a rebuild of control mappings using a rebuild with flush works at runtime but there are issues.
The issue I encounters with the Request Rebuild Control Mappings (set to Rebuild with Flush), it also reset input action events, meaning any active input are retriggered. This is a pain because it often retriggers my confirmation input.