Practice_Unity/Library/PackageCache/com.unity.inputsystem@be6c4fd0abf5/Samples~/RebindingUI
2025-09-16 17:30:13 +09:00
..
Icons 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
.sample.json 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
GamepadIconsExample.cs 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
GamepadIconsExample.cs.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
Icons.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
README.md 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
README.md.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindActionUI.cs 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindActionUI.cs.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindActionUIEditor.cs 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindActionUIEditor.cs.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindingUISampleScene.unity 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindingUISampleScene.unity.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindSaveLoad.cs 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindSaveLoad.cs.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindUIPrefab.prefab 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindUIPrefab.prefab.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindUISampleActions.inputactions 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
RebindUISampleActions.inputactions.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
Unity.InputSystem.RebindingUI.asmdef 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00
Unity.InputSystem.RebindingUI.asmdef.meta 유니티 스크립트 작성 프로젝트 init 2025-09-16 17:30:13 +09:00

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.