UKismetSystemLibrary::ResetGamepadAssignments
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Clears all gamepad-to-player-controller-ID assignments, so the next connected gamepad is assigned fresh. Android and iOS only.
Caveats & Gotchas
- • Android and iOS only.
- • This resets every gamepad's assignment at once — use ResetGamepadAssignmentToController if you only need to release one controller's mapping.
- • Useful when returning to a player-select or main menu screen where stale gamepad-to-player mappings from a previous session shouldn't carry over.
Signature
static ENGINE_API void ResetGamepadAssignments() Return Type
void Example
Clear all gamepad assignments on return to menu C++
UKismetSystemLibrary::ResetGamepadAssignments(); See Also
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?