Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get device connected to player input unity

using UnityEngine.InputSystem;
PlayerInput device = playerInput.devices[0];
Source by forum.unity.com #
 
PREVIOUS NEXT
Tagged: #device #connected #player #input #unity
ADD COMMENT
Topic
Name
5+4 =