Improve docs for UlxUserWidget

This commit is contained in:
2026-04-17 03:17:15 -04:00
parent 392faff205
commit 6b057d1514

View File

@@ -22,20 +22,18 @@ public:
// from the component and reinstated without losing their delegates. // from the component and reinstated without losing their delegates.
void BackupInputComponent(); void BackupInputComponent();
// Remove every live event binding whose action is InputAction. // Removes all handlers for 'InputAction'. That includes temporarily
// No-op if there are none, or if InputComponent isn't enhanced. // deactivating event graph nodes that handle 'InputAction'.
UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input") UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input")
void DisableInputAction(const UInputAction* InputAction); void DisableInputAction(const UInputAction* InputAction);
// Replace any live bindings for InputAction with fresh clones of every // Reactivates any graph nodes that handle 'InputAction', and
// saved binding for that action. Leaves the backup array intact so this // removes any other handlers for 'InputAction'.
// can be called repeatedly.
UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input") UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input")
void RestoreInputAction(const UInputAction* InputAction); void RestoreInputAction(const UInputAction* InputAction);
// Install live bindings on From that, when fired, dispatch through a // Any event graph nodes that handle 'to' are made to also
// clone of each saved binding for To. Clears any pre-existing live // handle 'From' events. Any other handlers of 'From' are removed.
// bindings on From first. Backup array is untouched.
UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input") UFUNCTION(BlueprintCallable, Category="Luprex|Widget Enhanced Input")
void RedirectInputAction(const UInputAction* From, const UInputAction* To); void RedirectInputAction(const UInputAction* From, const UInputAction* To);