|
@@ -75,6 +75,10 @@ public class XRInputManager : MonoBehaviour
|
|
|
Debug.Log("ControllerButton.HOME===>TOUCHPAD_BUTTON");
|
|
|
API_GSXR_Module_InputSystem_KS.GSXR_KSRight.inputDataKS.inputKeys.InputDataAddKey(InputKeyCode.Enter, InputKeyState.UP);
|
|
|
});
|
|
|
+#if UNITY_EDITOR
|
|
|
+ Invoke("startXR", 1f);
|
|
|
+#endif
|
|
|
+
|
|
|
return;
|
|
|
for (int i = 0; i < 15; i++)
|
|
|
{
|
|
@@ -101,6 +105,9 @@ public class XRInputManager : MonoBehaviour
|
|
|
List<Vector3> rightInfo = new List<Vector3>();
|
|
|
void startXR()
|
|
|
{
|
|
|
+ Module_InputSystem.instance.SetActiveInputDevice(InputDeviceType.KS, false);
|
|
|
+ Module_InputSystem.instance.SetActiveInputDevice(InputDeviceType.Head, true);
|
|
|
+
|
|
|
left.gameObject.SetActive(false);
|
|
|
right.gameObject.SetActive(false);
|
|
|
List<UnityEngine.XR.InputDevice> inputDevices = new List<UnityEngine.XR.InputDevice>();
|
|
@@ -108,7 +115,7 @@ public class XRInputManager : MonoBehaviour
|
|
|
for (int i = 0; i < inputDevices.Count; i++)
|
|
|
{
|
|
|
onDeviceConnected(inputDevices[i]);
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
private void Update()
|
|
|
{
|