Answers for "how to assign a specific device in unity"

0

how to assign a specific device in unity

var p1 = PlayerInput.Instantiate(playerPrefab, controlScheme: "Gamepad", pairWithDevice: Gamepad.all[0]);
var p2 = PlayerInput.Instantiate(playerPrefab, controlScheme: "KeyboardMouse", Keyboard.current, Mouse.current);
Posted by: Guest on May-26-2021

Code answers related to "how to assign a specific device in unity"

Code answers related to "Javascript"

Browse Popular Code Answers by Language