Firstborn/Library/PackageCache/com.unity.inputsystem@1.4.4/Samples~/InputRecorder
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00
..
.sample.json Library -Artifacts 2023-03-28 12:24:16 -05:00
InputRecorder.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
InputRecorder.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
InputRecorderInspector.cs Library -Artifacts 2023-03-28 12:24:16 -05:00
InputRecorderInspector.cs.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
InputRecorderSample.unity Library -Artifacts 2023-03-28 12:24:16 -05:00
InputRecorderSample.unity.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
README.md Library -Artifacts 2023-03-28 12:24:16 -05:00
README.md.meta Library -Artifacts 2023-03-28 12:24:16 -05:00
Unity.InputSystem.Recorder.asmdef Library -Artifacts 2023-03-28 12:24:16 -05:00
Unity.InputSystem.Recorder.asmdef.meta Library -Artifacts 2023-03-28 12:24:16 -05:00

This sample is both a demonstration for how to use InputEventTrace as well as a useful tool by itself in the form of the InputRecorder reusable MonoBehaviour component.

One possible way in which you can use this facility, for example, is to record input, save it to disk, and then replay the same input in automation (e.g. in tests or when recording short video snippets of preset gameplay sequences for manual proofing).