IndieGame/client/Packages/com.unity.inputsystem@1.7.0/Samples~/CustomDeviceUsages
DOBEST\zhaoyingjie f242607587 初始化工程
2024-10-11 10:12:15 +08:00
..
.sample.json 初始化工程 2024-10-11 10:12:15 +08:00
.sample.json.meta 初始化工程 2024-10-11 10:12:15 +08:00
CustomDeviceUsages.cs 初始化工程 2024-10-11 10:12:15 +08:00
CustomDeviceUsages.cs.meta 初始化工程 2024-10-11 10:12:15 +08:00
README.md 初始化工程 2024-10-11 10:12:15 +08:00
README.md.meta 初始化工程 2024-10-11 10:12:15 +08:00
TwoPlayerControls.inputactions 初始化工程 2024-10-11 10:12:15 +08:00
TwoPlayerControls.inputactions.meta 初始化工程 2024-10-11 10:12:15 +08:00

This sample shows how to tag devices with custom "usages" and how to bind actions specifically to devices with only those usages.

This is useful if you have the same type of device that appears in multiple different roles that you want to distinguish when binding to the device. For example, when a device may appear in both the left and the right hand or may appear held in different orientations (say, horizontal vs vertical).