📌  相关文章
📜  如何统一分配特定设备 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:49.027000             🧑  作者: Mango

代码示例1
var p1 = PlayerInput.Instantiate(playerPrefab, controlScheme: "Gamepad", pairWithDevice: Gamepad.all[0]);
var p2 = PlayerInput.Instantiate(playerPrefab, controlScheme: "KeyboardMouse", Keyboard.current, Mouse.current);