Answers for "unity input devices"

C#
1

get all devices connected using player input manager unity

//You dont get devices via PlayerInputManager, but by InputSystem.
InputSystem.devices;
Posted by: Guest on August-07-2021
1

get device connected to player input unity

using UnityEngine.InputSystem;
PlayerInput device = playerInput.devices[0];
Posted by: Guest on August-07-2021

C# Answers by Framework

Browse Popular Code Answers by Language