示例#1
0
 void OnGUI()
 {
     scrollPos = EditorGUILayout.BeginScrollView(scrollPos);
     TBEditorInputSettings.ShowMaps <OVRInput.RawButton>(ref TBEditorInputOculus.controllers, TBController_Oculus_QuestLeft.instance.GetDefaultDefs(), TBController_Oculus_QuestLeft.instance.GetName(), TBEditorStyles.sectionOverlayOculus, TBEditorStyles.solidOculus);
     TBEditorInputSettings.ShowMaps <OVRInput.RawButton>(ref TBEditorInputOculus.controllers, TBController_Oculus_QuestRight.instance.GetDefaultDefs(), TBController_Oculus_QuestRight.instance.GetName(), TBEditorStyles.sectionOverlayOculus, TBEditorStyles.solidOculus);
     EditorGUILayout.EndScrollView();
 }
示例#2
0
 void OnGUI()
 {
     scrollPos = EditorGUILayout.BeginScrollView(scrollPos);
     TBEditorInputSettings.ShowMaps <GvrControllerButton>(ref TBEditorInputGoogle.controllers, TBController_Google_Daydream6DOFLeft.instance.GetDefaultDefs(), TBController_Google_Daydream6DOFLeft.instance.GetName(), TBEditorStyles.sectionOverlayGoogle, TBEditorStyles.solidGoogle);
     TBEditorInputSettings.ShowMaps <GvrControllerButton>(ref TBEditorInputGoogle.controllers, TBController_Google_Daydream6DOFRight.instance.GetDefaultDefs(), TBController_Google_Daydream6DOFRight.instance.GetName(), TBEditorStyles.sectionOverlayGoogle, TBEditorStyles.solidGoogle);
     EditorGUILayout.EndScrollView();
 }
示例#3
0
 void OnGUI()
 {
     scrollPos = EditorGUILayout.BeginScrollView(scrollPos);
     TBEditorInputSettings.ShowMaps <TBWindowsMRInput.Button>(ref TBEditorInputWindowsMR.controllers, TBController_WindowsMR_MotionControllerLeft.instance.GetDefaultDefs(), TBController_WindowsMR_MotionControllerLeft.instance.GetName(), TBEditorStyles.sectionOverlayWindows, TBEditorStyles.solidWindows);
     TBEditorInputSettings.ShowMaps <TBWindowsMRInput.Button>(ref TBEditorInputWindowsMR.controllers, TBController_WindowsMR_MotionControllerRight.instance.GetDefaultDefs(), TBController_WindowsMR_MotionControllerRight.instance.GetName(), TBEditorStyles.sectionOverlayWindows, TBEditorStyles.solidWindows);
     EditorGUILayout.EndScrollView();
 }
示例#4
0
 void OnGUI()
 {
     scrollPos = EditorGUILayout.BeginScrollView(scrollPos);
     TBEditorInputSettings.ShowMaps <EVRButtonId>(ref TBEditorInputSteamVR.controllers, TBController_SteamVR_WindowsMixedRealityLeft.instance.GetDefaultDefs(), TBController_SteamVR_WindowsMixedRealityLeft.instance.GetName(), TBEditorStyles.sectionOverlaySteam, TBEditorStyles.solidSteam);
     TBEditorInputSettings.ShowMaps <EVRButtonId>(ref TBEditorInputSteamVR.controllers, TBController_SteamVR_WindowsMixedRealityRight.instance.GetDefaultDefs(), TBController_SteamVR_WindowsMixedRealityRight.instance.GetName(), TBEditorStyles.sectionOverlaySteam, TBEditorStyles.solidSteam);
     EditorGUILayout.EndScrollView();
 }
示例#5
0
 void OnGUI()
 {
     scrollPos = EditorGUILayout.BeginScrollView(scrollPos);
     EditorGUILayout.HelpBox("Vive Controller support through Oculus Utiltiies is only used as a fallback if Steam VR plugin is not enabled. Note that you must disable this feature before making a build for Oculus Store, since Open VR DLLs are not permitted in builds for Oculus.", MessageType.Info);
     TBEditorInputSettings.ShowMaps <OVRInput.RawButton>(ref TBEditorInputOculus.controllers, TBController_Oculus_ViveControllerLeft.instance.GetDefaultDefs(), TBController_Oculus_ViveControllerLeft.instance.GetName(), TBEditorStyles.sectionOverlayOculus, TBEditorStyles.solidOculus);
     TBEditorInputSettings.ShowMaps <OVRInput.RawButton>(ref TBEditorInputOculus.controllers, TBController_Oculus_ViveControllerRight.instance.GetDefaultDefs(), TBController_Oculus_ViveControllerRight.instance.GetName(), TBEditorStyles.sectionOverlayOculus, TBEditorStyles.solidOculus);
     EditorGUILayout.EndScrollView();
 }
示例#6
0
 void OnGUI()
 {
     TBEditorInputSettings.ShowMaps <OVRInput.RawButton>(ref TBEditorInputOculus.controllers, TBController_Oculus_GearVRTouchpad.instance.GetDefaultDefs(), TBController_Oculus_GearVRTouchpad.instance.GetName(), TBEditorStyles.sectionOverlayOculus, TBEditorStyles.solidOculus);
 }
示例#7
0
 void OnGUI()
 {
     TBEditorInputSettings.ShowMaps <GvrControllerButton>(ref TBEditorInputGoogle.controllers, TBController_Google_Daydream.instance.GetDefaultDefs(), TBController_Google_Daydream.instance.GetName(), TBEditorStyles.sectionOverlayGoogle, TBEditorStyles.solidGoogle);
 }
示例#8
0
 void OnGUI()
 {
     TBEditorInputSettings.ShowMaps <TBXInput.TBXInputButton>(ref TBEditorInputXInput.controllers, TBController_XInput_Gamepad.instance.GetDefaultDefs(), TBController_XInput_Gamepad.instance.GetName(), TBEditorStyles.sectionOverlaySteam, TBEditorStyles.solidSteam);
 }