InputBehaviorbuttonDownBuffer Property |
Time in seconds to buffer GetButtonDown results. This makes GetButtonDown return TRUE for extra time beyond a single frame.
This is useful to prevent missing button presses when pressing very rapidly and the game ignores these presses due to some blocking action. Ex: Punching in rapid succession, but presses are ignored during the punch animation.
The buffer value should generally be very small such as 0.08 s, but this will depend on your specific needs.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic float buttonDownBuffer { get; set; }Property Value
Single
See Also