Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
unknown 48478022ce bb vor 1 Woche
..
Icons bb vor 1 Woche
.sample.json bb vor 1 Woche
GamepadIconsExample.cs bb vor 1 Woche
GamepadIconsExample.cs.meta bb vor 1 Woche
Icons.meta bb vor 1 Woche
README.md bb vor 1 Woche
README.md.meta bb vor 1 Woche
RebindActionUI.cs bb vor 1 Woche
RebindActionUI.cs.meta bb vor 1 Woche
RebindActionUIEditor.cs bb vor 1 Woche
RebindActionUIEditor.cs.meta bb vor 1 Woche
RebindSaveLoad.cs bb vor 1 Woche
RebindSaveLoad.cs.meta bb vor 1 Woche
RebindUIPrefab.prefab bb vor 1 Woche
RebindUIPrefab.prefab.meta bb vor 1 Woche
RebindUISampleActions.inputactions bb vor 1 Woche
RebindUISampleActions.inputactions.meta bb vor 1 Woche
RebindingUISampleScene.unity bb vor 1 Woche
RebindingUISampleScene.unity.meta bb vor 1 Woche
Unity.InputSystem.RebindingUI.asmdef bb vor 1 Woche
Unity.InputSystem.RebindingUI.asmdef.meta bb vor 1 Woche

README.md

This sample demonstrates how to use the Input System APIs to set up a rebinding UI. The main file is RebindActionUI which, aside from serving as an example, contains a reusable MonoBehaviour component for composing rebinding UIs. The RebindUIPrefab contains a ready-made prefab that can be used as a simple drop-in setup for rebinding an individual action.

To demonstrate how to use images instead of textual display strings, take a look at GamepadIconsExample.

Finally, the RebindSaveLoad script demonstrates how to persist user rebinds in PlayerPrefs and how to restore them from there.

The icons used in the sample are taken from Free Prompts Pack v4.0 created by, and made available to public domain by Nicolae Berbece. Icons are licensed under Creative Commons CC0.