Changed some global defaults and clamp ranges for input timer lengths.

This commit is contained in:
Jamie Greunbaum 2023-09-19 15:48:25 -04:00
parent 13a3569a0b
commit fc3f597dcd

View File

@ -23,10 +23,10 @@ public:
TSet<TSoftObjectPtr<const class UComboInputAsset>> ComboActions; TSet<TSoftObjectPtr<const class UComboInputAsset>> ComboActions;
// Length of time after releasing an input to keep the associated combo action buffered before clearing it. // Length of time after releasing an input to keep the associated combo action buffered before clearing it.
UPROPERTY(Config, BlueprintReadOnly, EditDefaultsOnly, meta = (UIMin = "0.0", UIMax = "0.5")) UPROPERTY(Config, BlueprintReadOnly, EditDefaultsOnly, meta=(UIMin="0.0", UIMax="0.5", ClampMin="0.0", ClampMax="0.5"))
float InputReleaseExpirationTimerLength = 0.0666666666666666667f; float InputReleaseExpirationTimerLength = 0.15f;
// Length of time within which we can recognise multiple button presses as one input. // Length of time within which we can recognise multiple button presses as one input.
UPROPERTY(Config, BlueprintReadOnly, EditDefaultsOnly, meta = (UIMin = "0.02", UIMax = "0.25")) UPROPERTY(Config, BlueprintReadOnly, EditDefaultsOnly, meta=(UIMin="0.01", UIMax="0.25", ClampMin="0.01", ClampMax="0.25"))
float MultiPressTimerLength = 0.025f; float MultiPressTimerLength = 0.025f;
}; };