SteamVR 检测手柄是否连接 (代码)
Valve.VR.InteractionSystem.Player vrPlayer = null vrPlayer = GameObject.Find("Player").GetComponent<Valve.VR.InteractionSystem.Player>(); if(vrPlayer.rightHand.isActive) if (vrPlayer.leftHand.isActive)
Valve.VR.InteractionSystem.Player vrPlayer = null vrPlayer = GameObject.Find("Player").GetComponent<Valve.VR.InteractionSystem.Player>(); if(vrPlayer.rightHand.isActive) if (vrPlayer.leftHand.isActive)