Adaug proiectul Unity

This commit is contained in:
2026-11-01 23:39:55 +02:00
parent cb14d9d37d
commit 863eac8f2c
23463 changed files with 5412601 additions and 0 deletions
@@ -0,0 +1,9 @@
---
uid: input-system-device assignments
---
# Device assignments
If the `PlayerInput` component has any Devices assigned, it matches these to the [Control Schemes](control-schemes.md) in the associated action asset, and only enables Control Schemes which match its Input Devices.
Each `PlayerInput` can have one or more Devices assigned to it. By default, no two `PlayerInput` components are assigned the same Devices, but you can force this; to do so, manually assign Devices to a player when calling [`PlayerInput.Instantiate`](xref:UnityEngine.InputSystem.PlayerInput), or call [`InputUser.PerformPairingWithDevice`](xref:UnityEngine.InputSystem.Users.InputUser) on the `InputUser` of a `PlayerInput`.