Change input event to trigger different input states.

This commit is contained in:
Chandler Cox
2023-09-26 08:35:10 -05:00
parent a672f6aa6b
commit ea1da0481f
3 changed files with 35 additions and 10 deletions

View File

@@ -293,7 +293,7 @@ public:
/// Event fired when virtual input action is triggered. Called before scripts update. See <see cref="ActionMappings"/> to edit configuration.
/// </summary>
/// <seealso cref="InputEvent"/>
API_EVENT() static Delegate<StringView> ActionTriggered;
API_EVENT() static Delegate<StringView, const InputActionState&> ActionTriggered;
/// <summary>
/// Gets the value of the virtual action identified by name. Use <see cref="ActionMappings"/> to get the current config.