Unity-Eingaben neu belegen
Ermöglicht geänderte Unity-Steuerung, ohne wichtige Aktionen oder Belegungen anderer Spieler zu verlieren. Behandelt Abbruch, Gerätewechsel und gespeicherte Anpassungen über den gesamten Eingabeablauf.
unity-input-rebinding
Agenten mit diesem Skill
Wann ist der Skill hilfreich?
Nutze ihn bei verlorenem Pausebefehl, falscher Tastenerfassung oder Ausfällen nach Gerätewechsel.
Wobei hilft er dir?
- Trennt Tastendruck, gehaltene Eingabe und abgeschlossene Interaktion.
- Behandelt Neubelegung als abbrechbare Transaktion mit Zustandswiederherstellung.
- Speichert geprüfte Überschreibungen und beachtet gerätebezogene Spielerzuordnung.
Das könntest du fragen
Ergänze einen Unity-Bildschirm zum Neubelegen einer Bewegungsrichtung und des Ausweichens. Erlaube Abbruch, weise ungeeignete Tasten zurück und halte Pause erreichbar. Speichere und lade die Belegung, wechsle den Controller und prüfe mit einem zweiten lokalen Spieler, dass dessen eigene Steuerung unverändert bleibt.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Input Actions and Rebinding
Inspect the installed Input System version, action assets, PlayerInput setup and update mode. Keep keyboard, gamepad, touch and local-player ownership consistent with the project.
- Distinguish a physical press edge, held state and an interaction completing:
WasPressedThisFrame,IsPressedandperformed/triggeredanswer different questions. Hold/Tap interactions can change completion timing. Buffer one-shot intent if physics consumes it later. - Make Gameplay/UI/Vehicle map transitions explicit. Preserve shared Pause/Cancel actions and clear stale held input on focus loss, disable or device disconnect.
- Rebinding is a transaction: remember enabled state, disable the target action, bind the selected device group/part, provide explicit cancel/timeout, then restore the previous state on completion, cancellation and screen destruction. Dispose the operation, including error paths.
- Rebind composite parts individually; do not capture a new path on the composite root. Define duplicate-binding policy and prevent navigation input from accidentally becoming the new binding.
- Persist binding overrides with the installed package's supported JSON APIs, validate data, restore after the action asset exists and provide reset-to-default. Refresh displayed binding labels after scheme or override changes.
- With local multiplayer, use the player's own action asset/device pairing; a shared global action reference can route another player's input.
Verify press versus hold, cancellation, composite direction, duplicate handling, reload/reset, device reconnect and switching maps while an action is held. Use InputTestFixture when installed; distinguish simulated-input tests from real-device checks.
Versioned reference: Input bindings. Match the documentation to the installed package.
Enthaltene Dateien 2
LICENSE.txtSKILL.md
