Unity-bemenet újrakötése
Úgy teszi átállíthatóvá a Unity-vezérlést, hogy a fontos műveletek és más játékos beállításai megmaradjanak. Kezeli a megszakítást, eszközváltást és mentett felülírásokat.
unity-input-rebinding
Ezt a skillt használó csapattagok
Mikor hasznos?
Akkor használd, ha testreszabott vezérlés elveszíti a szünetet, rossz billentyűt fog vagy eszközváltás után leáll.
Miben segít neked?
- Elkülöníti a lenyomási élt, tartott bemenetet és kész interakciót.
- Megszakítható tranzakcióként kezeli az újrakötést, visszaadja a műveletállapotot.
- Ellenőrzött felülírást ment és játékosonként párosít eszközt.
Például ezt kérheted
Adj Unity-beállítóképernyőt egy mozgásirány és a kitérés újrakötéséhez. Lehessen megszakítani a gombfigyelést, utasítsd el a nem megfelelő kötést, a szünet pedig maradjon elérhető. Ments és tölts vissza, válts kontrollert, majd második helyi játékossal is ellenőrizd a külön vezérlések megmaradását.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
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.
Csomagban lévő fájlok 2
LICENSE.txtSKILL.md
