devNotes 7-03-16 ui interaction navigation message processing

CmevIzhXYAAd_Mx

CmeuuhyWcAALG6B

Cmew_gvWAAE6fF7

1  Argos_Application
    - UnityEngine.Transform
    - AA
  
     Controller
    - UnityEngine.Transform
    - ArgosController
  
        EventSystem
          - UnityEngine.Transform
          - UnityEngine.EventSystems.EventSystem
          - UnityEngine.EventSystems.StandaloneInputModule
          - UnityEngine.EventSystems.TouchInputModule
          - UnityEngine.EventSystems.OVRInputModule
  
        Argos_VR_Navigate
          - UnityEngine.Transform
          - Argos_VR_Navigate
  
     Model
    - UnityEngine.Transform
    - ArgosModel
  
     View
    - UnityEngine.Transform
    - ArgosView
  
        UserHead
          - UnityEngine.Transform
  
            ARCamera
              - UnityEngine.Transform
              - UnityEngine.AudioListener
              - Vuforia.VuforiaBehaviour
              - Vuforia.DigitalEyewearBehaviour
              - Vuforia.DatabaseLoadBehaviour
              - Vuforia.VideoBackgroundManager
              - Vuforia.SmartTerrainTrackerBehaviour
              - Vuforia.DeviceTrackerBehaviour
              - Vuforia.WebCamBehaviour
              - Vuforia.KeepAliveBehaviour
              - ViewModeManager
              - BackToAbout
              - Vuforia.ComponentFactoryStarterBehaviour
  
                    StereoCameraLeft
                      - UnityEngine.Transform
                      - UnityEngine.Camera
                      - Vuforia.VideoBackgroundBehaviour
                      - UnityEngine.GUILayer
                      - UnityEngine.FlareLayer
                      - Vuforia.HideExcessAreaBehaviour
  
                        BackgroundPlane
                          - UnityEngine.Transform
                          - UnityEngine.MeshRenderer
                          - Vuforia.BackgroundPlaneBehaviour
  
                    StereoCameraRight
                      - UnityEngine.Transform
                      - UnityEngine.Camera
                      - Vuforia.VideoBackgroundBehaviour
                      - UnityEngine.GUILayer
                      - UnityEngine.FlareLayer
                      - Vuforia.HideExcessAreaBehaviour
  
                    BlackMask
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
                      - BlackMaskBehaviour
  
                    GazeRay
                      - UnityEngine.Transform
                      - GazeRay
  
                    Reticle
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
                      - Reticle
  
        Argos_Sphere
          - UnityEngine.Transform
  
            ARGOS_Fibonacci_0_0
              - UnityEngine.Transform
              - UnityEngine.MeshFilter
              - UnityEngine.MeshRenderer
  
            Argos_Sphere_Indexing
              - UnityEngine.Transform
              - UnityEngine.MeshFilter
              - UnityEngine.SphereCollider
              - UnityEngine.MeshRenderer
              - ArgosSphere_Indexing
  
        Echo_Canvas
          - UnityEngine.RectTransform
          - UnityEngine.Canvas
          - UnityEngine.UI.CanvasScaler
          - OVRRaycaster
          - OVRMousePointer
          - UnityEngine.UI.Mask
          - UnityEngine.CanvasRenderer
          - UnityEngine.UI.Image
          - UnityEngine.UI.GraphicRaycaster
  
            UI_Control_Panel
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Image
              - UI_Control
  
                    Graph_Plate
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Graph_Base
                          - UnityEngine.Transform
  
                            Mic_Input_Plot_Origin
                              - UnityEngine.Transform
                              - UnityEngine.MeshFilter
                              - UnityEngine.BoxCollider
                              - UnityEngine.MeshRenderer
                              - Vertical_Plot
                              - MicrophoneInput
                              - UnityEngine.AudioSource
  
                                Mic_Input_Plot_Origin
                                  - UnityEngine.Transform
                                  - UnityEngine.MeshFilter
                                  - UnityEngine.MeshCollider
                                  - UnityEngine.MeshRenderer
  
                    Top_Icon_Buttons
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Back_Panel 
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
                        UI_Switch
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
                          - UI_On_Off
  
                        NAV_Overlay_Switch
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
  
                        Lock
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
  
                        Rotate
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
  
                        NavSphereRotate
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
  
                    CanvasPointerEcho
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                    EchoParameters
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Echo_Gain
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Echo_Gain-Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                Echo_Gain-Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                Echo_Gain-Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            Echo_Gain_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                Echo_Gain_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                Echo_Gain_Slider
                                  - UnityEngine.RectTransform
  
                                Echo_Gain_Slider
                                  - UnityEngine.RectTransform
  
                        Echo_Length
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Echo_Length_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                Echo_Length_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                Echo_Length_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            Echo_Length_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                Echo_Length_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                Echo_Length_Slider
                                  - UnityEngine.RectTransform
  
                                Echo_Length_Slider
                                  - UnityEngine.RectTransform
  
                        Delay_Time
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Delay_Time_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                Delay_Time_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                Delay_Time_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            Delay_Time_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                Delay_Time_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                Delay_Time_Slider
                                  - UnityEngine.RectTransform
  
                                Delay_Time_Slider
                                  - UnityEngine.RectTransform
  
                        Echo_Attenuation
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Echo_Attenuation_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                Echo_Attenuation_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                Echo_Attenuation_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            Echo_Attenuation_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                Echo_Attenuation_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                Echo_Attenuation_Slider
                                  - UnityEngine.RectTransform
  
                                Echo_Attenuation_Slider
                                  - UnityEngine.RectTransform
  
                    BrushParameter_Panel
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        X_position
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            XPos-Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                XPos-Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                XPos-Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            XPos_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                XPos_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                XPos_Slider
                                  - UnityEngine.RectTransform
  
                                XPos_Slider
                                  - UnityEngine.RectTransform
  
                        Y_position
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            YPos_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                YPos_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                YPos_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            YPos_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                YPos_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                YPos_Slider
                                  - UnityEngine.RectTransform
  
                                YPos_Slider
                                  - UnityEngine.RectTransform
  
                        Z_position
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            ZPos_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                ZPos_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                ZPos_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            z_Pos_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                z_Pos_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                z_Pos_Slider
                                  - UnityEngine.RectTransform
  
                                z_Pos_Slider
                                  - UnityEngine.RectTransform
  
                        arrow_freq
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            AF-Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                AF-Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                AF-Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            AF_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                AF_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                AF_Slider
                                  - UnityEngine.RectTransform
  
                                AF_Slider
                                  - UnityEngine.RectTransform
  
                        brush_freq
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            BF_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                BF_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                BF_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            BF_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                BF_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                BF_Slider
                                  - UnityEngine.RectTransform
  
                                BF_Slider
                                  - UnityEngine.RectTransform
  
                        ab_ratio
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            AR_Ratio_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                AR_Ratio_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                AR_Ratio_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            AB_Ratio_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                AB_Ratio_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                AB_Ratio_Slider
                                  - UnityEngine.RectTransform
  
                                AB_Ratio_Slider
                                  - UnityEngine.RectTransform
  
                        phasor_len
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Phasor_Len_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                Phasor_Len_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                Phasor_Len_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            Phasor_Len_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                Phasor_Len_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                Phasor_Len_Slider
                                  - UnityEngine.RectTransform
  
                                Phasor_Len_Slider
                                  - UnityEngine.RectTransform
  
                        line_width
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            line_width_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                line_width_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                line_width_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            line_width_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                line_width_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                line_width_Slider
                                  - UnityEngine.RectTransform
  
                                line_width_Slider
                                  - UnityEngine.RectTransform
  
                        fade_start
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            fade_start_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                fade_start_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                fade_start_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            fade_start_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                fade_start_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                fade_start_Slider
                                  - UnityEngine.RectTransform
  
                                fade_start_Slider
                                  - UnityEngine.RectTransform
  
                        Duration
                          - UnityEngine.RectTransform
  
                            Header
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Duration_Input
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.InputField
  
                                Duration_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                                Duration_Input
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Text
  
                            Duration_Slider
                              - UnityEngine.RectTransform
                              - UnityEngine.UI.Slider
  
                                Duration_Slider
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
  
                                Duration_Slider
                                  - UnityEngine.RectTransform
  
                                Duration_Slider
                                  - UnityEngine.RectTransform
  
                    Music Player
                      - UnityEngine.RectTransform
  
                        Back_Panel
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
                        Play
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
                          - UnityEngine.EventSystems.EventTrigger
  
                        Pause
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
                          - UnityEngine.EventSystems.EventTrigger
  
                        Stop
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
                          - UnityEngine.EventSystems.EventTrigger
  
                        Argos_Logo
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
                        Image
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
                        Mic_Input_Button
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
  
                            Mic_Level
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Button
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
  
                        Latency Button
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.Button
  
                            Latency
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                            Button
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
                              - UnityEngine.UI.Button
  
                            Latency_Val_txt
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
        Graph_Canvas
          - UnityEngine.RectTransform
          - UnityEngine.Canvas
          - UnityEngine.UI.CanvasScaler
          - UnityEngine.UI.GraphicRaycaster
          - MenuManager
          - GearVRInput
          - GF_Manager
          - OVRRaycaster
          - OVRMousePointer
  
            GF_Accel_3_Axes
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Image
              - UnityEngine.CanvasGroup
              - UnityEngine.Animator
              - Menu
  
                    Title
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Text
  
                    Graph_Panel
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
                      - GraphFloat
  
                        Max_y
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Min_y
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                        Num(Clone)
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
                    Sensor_Header_Text
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Text
  
                    _GearInput_X
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Text
  
                    _GearInput_Y
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Text
  
            DEBUGTEXT
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Text
  
            DEBUGTEXT (1)
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Text
  
            TOG_1
              - UnityEngine.RectTransform
              - UnityEngine.UI.Toggle
  
                    Background
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Checkmark
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
            TOG_2
              - UnityEngine.RectTransform
              - UnityEngine.UI.Toggle
  
                    Background
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Checkmark
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
            TOG_3
              - UnityEngine.RectTransform
              - UnityEngine.UI.Toggle
  
                    Background
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Checkmark
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
            Group
              - UnityEngine.RectTransform
              - UnityEngine.UI.ToggleGroup
  
            TOG_4
              - UnityEngine.RectTransform
              - UnityEngine.UI.Toggle
  
                    Background
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Checkmark
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
            CanvasPointerGraph
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Image
  
            Vectrocity_Camera
              - UnityEngine.Transform
              - UnityEngine.Camera
              - UnityEngine.FlareLayer
              - UnityEngine.GUILayer
              - UnityEngine.AudioListener
  
            VRButton_Test_Outside
              - UnityEngine.Transform
              - UnityEngine.MeshFilter
              - UnityEngine.MeshCollider
              - UnityEngine.MeshRenderer
              - ViewTrigger
  
        floating_Navigation_Menu
          - UnityEngine.RectTransform
          - UnityEngine.Canvas
          - UnityEngine.UI.CanvasScaler
          - OVRRaycaster
          - OVRMousePointer
          - UnityEngine.UI.Mask
          - UnityEngine.CanvasRenderer
          - UnityEngine.UI.Image
          - UnityEngine.UI.GraphicRaycaster
          - FollowCamRotation
          - GearVRInput
  
            Panel
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Image
  
                    Pointer_proxy
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
            NAV_Radial_Manu
              - UnityEngine.RectTransform
              - RMF_RadialMenu
              - UnityEngine.CanvasGroup
  
                    Background
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
  
                        Image
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
  
                    Active Components
                      - UnityEngine.RectTransform
  
                        SelectionFollowerContainer
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
  
                            Pointer
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
  
                        Elements
                          - UnityEngine.RectTransform
  
                            ElementA
                              - UnityEngine.RectTransform
                              - RMF_RadialMenuElement
                              - UnityEngine.CanvasGroup
  
                                ElementA
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
                                  - UnityEngine.UI.Button
                                  - UnityEngine.EventSystems.EventTrigger
  
                            ElementB
                              - UnityEngine.RectTransform
                              - RMF_RadialMenuElement
                              - UnityEngine.CanvasGroup
  
                                ElementB
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
                                  - UnityEngine.UI.Button
  
                            ElementC
                              - UnityEngine.RectTransform
                              - RMF_RadialMenuElement
                              - UnityEngine.CanvasGroup
  
                                ElementC
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
                                  - UnityEngine.UI.Button
  
                            ElementD
                              - UnityEngine.RectTransform
                              - RMF_RadialMenuElement
                              - UnityEngine.CanvasGroup
  
                                ElementD
                                  - UnityEngine.RectTransform
                                  - UnityEngine.CanvasRenderer
                                  - UnityEngine.UI.Image
                                  - UnityEngine.UI.Button
  
                        Label
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Text
  
        InitErrorHandler
          - UnityEngine.Transform
          - InitErrorHandler
  
            ErrorCanvas
              - UnityEngine.RectTransform
              - UnityEngine.Canvas
              - UnityEngine.UI.CanvasScaler
              - UnityEngine.UI.GraphicRaycaster
  
                    ErrorPanel
                      - UnityEngine.RectTransform
                      - UnityEngine.CanvasRenderer
                      - UnityEngine.UI.Image
                      - UnityEngine.UI.VerticalLayoutGroup
  
                        TitlePanel
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.HorizontalLayoutGroup
                          - UnityEngine.UI.LayoutElement
  
                            ErrorTitle
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                        BodyPanel
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.HorizontalLayoutGroup
                          - UnityEngine.UI.LayoutElement
  
                            ErrorBodyText
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Text
  
                        BottomPanel
                          - UnityEngine.RectTransform
                          - UnityEngine.CanvasRenderer
                          - UnityEngine.UI.Image
                          - UnityEngine.UI.HorizontalLayoutGroup
                          - UnityEngine.UI.LayoutElement
  
                            Panel
                              - UnityEngine.RectTransform
                              - UnityEngine.CanvasRenderer
                              - UnityEngine.UI.Image
  
        ARTransitionManager
          - UnityEngine.Transform
          - TransitionManager
  
        VRWorld
          - UnityEngine.Transform
  
            Static Objects
              - UnityEngine.Transform
  
                    floor
                      - UnityEngine.Transform
  
                        floor_005
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
  
                        floor_006
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
  
                        floor_007
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
  
                        floor_008
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
  
                    Plane
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshCollider
  
                    walls
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
                      - UnityEngine.BoxCollider
  
                    walls
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
                      - UnityEngine.BoxCollider
  
                    walls
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
                      - UnityEngine.BoxCollider
  
                    walls
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
                      - UnityEngine.BoxCollider
  
                    Columns
                      - UnityEngine.Transform
  
                        Column
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
                          - UnityEngine.BoxCollider
  
                        Column
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
                          - UnityEngine.BoxCollider
  
                        Column
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
                          - UnityEngine.BoxCollider
  
                        Column
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.MeshRenderer
                          - UnityEngine.BoxCollider
  
                    Ceiling
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshCollider
                      - UnityEngine.MeshRenderer
  
                    Directional light
                      - UnityEngine.Transform
                      - UnityEngine.Light
  
                    Point light
                      - UnityEngine.Transform
                      - UnityEngine.Light
  
                    LightAnchor
                      - UnityEngine.Transform
  
                    Point light
                      - UnityEngine.Transform
                      - UnityEngine.Light
                      - LightControl
  
                        Cylinder
                          - UnityEngine.Transform
                          - UnityEngine.MeshFilter
                          - UnityEngine.CapsuleCollider
                          - UnityEngine.MeshRenderer
  
        StereoDivisionCanvas
          - UnityEngine.RectTransform
          - UnityEngine.Canvas
          - UnityEngine.UI.CanvasScaler
          - UnityEngine.UI.GraphicRaycaster
  
            DivisionArea
              - UnityEngine.RectTransform
              - UnityEngine.CanvasRenderer
              - UnityEngine.UI.Image
  
        GazePointerRing
          - UnityEngine.Transform
          - ParticleGazeCursor
          - OVRGazePointer
  
            Cursor0
              - UnityEngine.Transform
  
                    Quad
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
  
                    Half
                      - UnityEngine.Transform
                      - UnityEngine.ParticleSystemRenderer
                      - UnityEngine.ParticleSystem
  
                    Full
                      - UnityEngine.Transform
                      - UnityEngine.ParticleSystemRenderer
                      - UnityEngine.ParticleSystem
  
            Cursor1
              - UnityEngine.Transform
  
                    Quad
                      - UnityEngine.Transform
                      - UnityEngine.MeshFilter
                      - UnityEngine.MeshRenderer
  
                    Half
                      - UnityEngine.Transform
                      - UnityEngine.ParticleSystemRenderer
                      - UnityEngine.ParticleSystem
  
                    Full
                      - UnityEngine.Transform
                      - UnityEngine.ParticleSystemRenderer
                      - UnityEngine.ParticleSystem
  
        ARPort
          - UnityEngine.Transform
          - UnityEngine.MeshFilter
          - UnityEngine.MeshCollider
          - UnityEngine.MeshRenderer
          - Button3D
          - ViewTrigger
  
        VR Mouse Look (Rotation)
          - UnityEngine.Transform
  
            VR Mouse Look (Forward)
              - UnityEngine.Transform
  
                    OVRCameraRig
                      - UnityEngine.Transform
                      - OVRCameraRig
                      - OVRManager
                      - VRMouseLook
  
                        TrackingSpace
                          - UnityEngine.Transform
  
                            LeftEyeAnchor
                              - UnityEngine.Transform
  
                            CenterEyeAnchor
                              - UnityEngine.Transform
                              - UnityEngine.AudioListener
                              - UnityEngine.Camera
                              - Vuforia.HideExcessAreaBehaviour
                              - Vuforia.VideoBackgroundBehaviour
                              - VRIntegrationHelper
  
                                CenterEyeAnchor
                                  - UnityEngine.Transform
  
                                CenterEyeAnchor
                                  - UnityEngine.Transform
                                  - UnityEngine.MeshRenderer
                                  - Vuforia.BackgroundPlaneBehaviour
                                  - UnityEngine.MeshFilter
  
                            RightEyeAnchor
                              - UnityEngine.Transform
  
                            TrackerAnchor
                              - UnityEngine.Transform
  
                            LeftHandAnchor
                              - UnityEngine.Transform
  
                            RightHandAnchor
                              - UnityEngine.Transform
  
                            CenterRightEyeAnchor
                              - UnityEngine.Transform
                              - UnityEngine.AudioListener
                              - UnityEngine.Camera
                              - VRIntegrationHelper
                              - Vuforia.VideoBackgroundBehaviour
                              - Vuforia.HideExcessAreaBehaviour
  
                                CenterRightEyeAnchor
                                  - UnityEngine.Transform
                                  - UnityEngine.MeshFilter
                                  - UnityEngine.MeshRenderer
  
                            VuforiaCenterAnchor
                              - UnityEngine.Transform
  
2  GraphTrace_0
    - UnityEngine.RectTransform
    - Vectrosity.VectorObject3D
    - UnityEngine.MeshRenderer
    - UnityEngine.MeshFilter
  
3  GraphTrace_1
    - UnityEngine.RectTransform
    - Vectrosity.VectorObject3D
    - UnityEngine.MeshRenderer
    - UnityEngine.MeshFilter
  
4  GraphTrace_2
    - UnityEngine.RectTransform
    - Vectrosity.VectorObject3D
    - UnityEngine.MeshRenderer
    - UnityEngine.MeshFilter
  
5  TextureBufferCamera
    - UnityEngine.Transform
    - UnityEngine.Camera
  
     TextureBufferMesh
    - UnityEngine.Transform
    - UnityEngine.MeshFilter
    - UnityEngine.MeshRenderer
  
6  TickMarks
    - UnityEngine.RectTransform
    - Vectrosity.VectorObject3D
    - UnityEngine.MeshRenderer
    - UnityEngine.MeshFilter
  

Cme4BDBW8AAewFh

CmetQL4WcAE0YhX

using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Collections.Generic;

public class Argos_VR_Navigate : MonoBehaviour
{
    public float ArrowSpeed = 1f;
    public float MouseLLnearSpeed = 60f;
    public float MouseAngularSpeed = 60f;
    public float damping = 0.1f;
    public float ReleaseTime = 1.2f;

    bool bLMButtonisDown = false;
    bool bRMButtonisDown = false;
    bool bMMMouseButtonisDown = false;

    bool bLMButtonWasDown = false;
    bool bRMButtonWasDown = false;
    bool bMMMouseButtonWasDown = false;

    bool bAnyMouseButton = false;

    float xMouse_Damped;
    float yMouse_Damped;
    float[] arrowsDamped = new float[4];
    bool[] bArrow = new bool[4];
    bool[] bArrowWasDown = new bool[4];

    float[] MTimer = new float[3];
    float[] ATimer = new float[4];
 
    GameObject argosSphere;
    //GameObject userMovement;
    //GameObject NavSphere_Pivot;
    //GameObject NavSphere;
    //UI_Control ui_control;

    public Text txtInputIndicator;

    Vector2 touchPos;

    Vector3 vHoldPivot;
    bool bRotaPivot_On = false;

    bool m_bAllowInput = true;

    public RMF_RadialMenu rmf_Radial_Menu;

    public enum Arrows
    {
        UP = 0,
        DOWN,
        LEFT,
        RIGHT,
    }

    public static class Arrow
    {
        public const int UP = 0;
        public const int DOWN = 1;
        public const int LEFT = 2;
        public const int RIGHT = 3;
    }

    public enum MouseButts
    {
        LMB,
        RMB,
        MMB,
    }
    public static class MouseButt
    {
        public const int LMB = 0;
        public const int RMB = 1;
        public const int MMB = 2;
    }


    private Vector3 baseOVR_Pos;
    private Quaternion baseOVR_Rota;
    

    public int iMode_GearVR;

    public static class GVR_MODE
    {
        public const int LMB = 0;
        public const int RMB = 1;
        public const int HOME = 2;
        public const int MMB = 3;
    }

    public GameObject OVR_Main_Cam;

    public float seeX;
    public float seeY;


    public void Start()
    {
        argosSphere = GameObject.Find("Argos_Sphere");
        //userMovement = GameObject.Find("User_Movement");
        //ui_control = GameObject.Find("UI_Control_Canvas").GetComponent<UI_Control>();
        //NavSphere_Pivot = GameObject.Find("NavSphere_Pivot");
        //NavSphere = GameObject.Find("Argos_NavSphere");

        OVRTouchpad.Create();
        OVRTouchpad.TouchHandler += HandleTouchHandler;


        baseOVR_Pos = OVR_Main_Cam.transform.position;
        baseOVR_Rota = OVR_Main_Cam.transform.rotation;
    }

    void HandleTouchHandler(object sender, System.EventArgs e)
    {
        OVRTouchpad.TouchArgs touchArgs = (OVRTouchpad.TouchArgs)e;
        OVRTouchpad.TouchEvent touchEvent = touchArgs.TouchType;
        /*if(touchArgs.TouchType == OVRTouchpad.TouchEvent.SingleTap)
        {
            //TODO: Insert code here to handle a single tap.  Note that there are other TouchTypes you can check for like directional swipes, but double tap is not currently implemented I believe.
        }*/

        switch (touchEvent)
        {
            case OVRTouchpad.TouchEvent.SingleTap:
                txtInputIndicator.text = "SingleTap";
                rmf_Radial_Menu.onNavSelect();
                TouchPadHandler();
                break;

            case OVRTouchpad.TouchEvent.Left:
                txtInputIndicator.text = "Left";
                break;

            case OVRTouchpad.TouchEvent.Right:
                txtInputIndicator.text = "Right";
                break;

            case OVRTouchpad.TouchEvent.Up:
                txtInputIndicator.text = "Up";
                break;

            case OVRTouchpad.TouchEvent.Down:
                txtInputIndicator.text = "Down";
                break;
        }
    }

    public void onGreenButton()
    {
        m_bAllowInput = true;
    }

    public void onRedButton()
    {
        m_bAllowInput = !m_bAllowInput;
    }

    void TouchPadHandler()
    {
        if (rmf_Radial_Menu.idxSelected == GVR_MODE.HOME)
        {
            OVR_Main_Cam.transform.position = baseOVR_Pos;
            OVR_Main_Cam.transform.rotation = baseOVR_Rota; 
        }

        if (rmf_Radial_Menu.idxSelected == GVR_MODE.LMB)
        {
            bLMButtonisDown = true;
            bLMButtonWasDown = true;
            MTimer[MouseButt.RMB] = 0f;
            bRMButtonWasDown = false;
            MTimer[MouseButt.MMB] = 0f;
            bMMMouseButtonWasDown = false;
        }
        else
        {
            bLMButtonisDown = false;
        }
        if (rmf_Radial_Menu.idxSelected == GVR_MODE.RMB)
        {
            bRMButtonisDown = true;
            bRMButtonWasDown = true;
            MTimer[MouseButt.LMB] = 0f;
            bLMButtonWasDown = false;
            MTimer[MouseButt.MMB] = 0f;
            bMMMouseButtonWasDown = false;
        }
        else
        {
            bRMButtonisDown = false;
        }
        if (rmf_Radial_Menu.idxSelected == GVR_MODE.MMB)
        {
            bMMMouseButtonisDown = true;
            bMMMouseButtonWasDown = true;
            MTimer[MouseButt.LMB] = 0f;
            bLMButtonWasDown = false;
            MTimer[MouseButt.RMB] = 0f;
            bRMButtonWasDown = false;
        }
        else
        {
            bMMMouseButtonisDown = false;
        }
        bAnyMouseButton = bLMButtonisDown || bRMButtonisDown || bMMMouseButtonisDown || Input.GetKey("right ctrl") || Input.GetKey("e");
    }

    void checkMouseButts()
    {
        if (Input.GetMouseButtonDown(0))
        {
            bLMButtonisDown = true;
            bLMButtonWasDown = true;
            MTimer[MouseButt.RMB] = 0f;
            bRMButtonWasDown = false;
            MTimer[MouseButt.MMB] = 0f;
            bMMMouseButtonWasDown = false;
        }
        if (Input.GetMouseButtonUp(0))
        {
            bLMButtonisDown = false;
        }
        if (Input.GetMouseButtonDown(1))
        {
            bRMButtonisDown = true;
            bRMButtonWasDown = true;
            MTimer[MouseButt.LMB] = 0f;
            bLMButtonWasDown = false;
            MTimer[MouseButt.MMB] = 0f;
            bMMMouseButtonWasDown = false;
        }
        if (Input.GetMouseButtonUp(1))
        {
            bRMButtonisDown = false;
        }
        if (Input.GetMouseButtonDown(2))
        {
            bMMMouseButtonisDown = true;
            bMMMouseButtonWasDown = true;
            MTimer[MouseButt.LMB] = 0f;
            bLMButtonWasDown = false;
            MTimer[MouseButt.RMB] = 0f;
            bRMButtonWasDown = false;
        }
        if (Input.GetMouseButtonUp(2))
        {
            bMMMouseButtonisDown = false;
        }
        bAnyMouseButton = bLMButtonisDown || bRMButtonisDown || bMMMouseButtonisDown || Input.GetKey("right ctrl") || Input.GetKey("e");
    }
        void Update()
        {
           
            //test OVR single tap
            if(Input.GetMouseButtonDown(0))
            {
                rmf_Radial_Menu.onNavSelect();
            }
            iMode_GearVR = rmf_Radial_Menu.idxSelected;

            MouseHandler();

            if (!EventSystem.current.IsPointerOverGameObject())
            {
                
                //NavSphere_Pivot.transform.position = transform.position;

                //if(ui_control.isLocked_NavSpheretoCam)
                //{
                //    NavSphere_Pivot.transform.rotation = transform.rotation;
                //}
            }
        
        
            //if (Input.touchCount > 0)
            //{
            //    if (Input.GetTouch(0).phase == TouchPhase.Began)
            //    {
            //        PointerEventData ped = new PointerEventData(null);
            //        ped.position = Input.GetTouch(0).position;
            //        List<RaycastResult> results = new List<RaycastResult>();
            //        GR.Raycast(ped, results);
            //        if (results.Count == 0)
            //        {
                   
            //        }
            //    }
            //}
    } 


    void MouseHandler()
    {
        //checkMouseButts();
        float x = GearVRInput.GetAxisX; 
        float y = GearVRInput.GetAxisY; 

        seeX = x; seeY = y;


        if (bAnyMouseButton)
        {
            xMouse_Damped = Mathf.Lerp(xMouse_Damped, x, damping);
            yMouse_Damped = Mathf.Lerp(yMouse_Damped, y, damping);

            //MTimer[MouseButt.LMB] = MTimer[MouseButt.RMB] = MTimer[MouseButt.MMB] = 0f;
        }
        else
        {
            xMouse_Damped = Mathf.Lerp(xMouse_Damped, 0f, damping);
            yMouse_Damped = Mathf.Lerp(yMouse_Damped, 0f, damping);
        }

        float xMD_TimeScaled_AngVel = xMouse_Damped * MouseAngularSpeed * Time.deltaTime;
        float yMD_TimeScaled_AngVel = yMouse_Damped * MouseAngularSpeed * Time.deltaTime;

        float xMD_TimeScaled_LinVel = xMouse_Damped * MouseLLnearSpeed * Time.deltaTime;
        float yMD_TimeScaled_LinVel = yMouse_Damped * MouseLLnearSpeed * Time.deltaTime;

        //bArrow[Arrow.UP]    = Input.GetKey(KeyCode.UpArrow);
        //bArrow[Arrow.DOWN]  = Input.GetKey(KeyCode.DownArrow);
        //bArrow[Arrow.LEFT]  = Input.GetKey(KeyCode.LeftArrow);
        //bArrow[Arrow.RIGHT] = Input.GetKey(KeyCode.RightArrow);

        //arrowsDamped[Arrow.UP] = Mathf.Lerp(arrowsDamped[Arrow.UP], ArrowSpeed*(bArrow[Arrow.UP] ?1f:0f), damping);
        //arrowsDamped[Arrow.DOWN] = Mathf.Lerp(arrowsDamped[Arrow.DOWN], ArrowSpeed * (bArrow[Arrow.DOWN] ? 1f : 0f), damping);
        //arrowsDamped[Arrow.LEFT] = Mathf.Lerp(arrowsDamped[Arrow.LEFT], ArrowSpeed * (bArrow[Arrow.LEFT] ? 1f : 0f), damping);
        //arrowsDamped[Arrow.RIGHT] = Mathf.Lerp(arrowsDamped[Arrow.RIGHT], ArrowSpeed * (bArrow[Arrow.RIGHT] ? 1f : 0f), damping);


        for (int i = 0; i<4; i++)
        {
            if (bArrow[i])
            {
                if (ATimer[i] > 0.0f)
                {
                    bArrowWasDown[i] = false;
                    ATimer[i] = 0f;
                }
                else
                {
                    bArrowWasDown[i] = true;
                }
            }
        }

        if (bLMButtonisDown || bLMButtonWasDown)
        {
            OVR_Main_Cam.transform.Translate(0, -yMD_TimeScaled_LinVel, xMD_TimeScaled_LinVel);
            if (!bLMButtonisDown)
            {
                MTimer[MouseButt.LMB] += Time.deltaTime;
                if (MTimer[MouseButt.LMB] > ReleaseTime)
                {
                    MTimer[MouseButt.LMB] = 0f;
                    bLMButtonWasDown = false;
                }
            }
        }

        if (bRMButtonisDown || bRMButtonWasDown)
        {
            OVR_Main_Cam.transform.Translate(-xMD_TimeScaled_LinVel, -yMD_TimeScaled_LinVel, 0);
            if (!bRMButtonisDown)
            {
                MTimer[MouseButt.RMB] += Time.deltaTime;
                if (MTimer[MouseButt.RMB] > ReleaseTime)
                {
                    MTimer[MouseButt.RMB] = 0f;
                    bRMButtonWasDown = false;
                }
            }
        }
        if (bMMMouseButtonisDown || bMMMouseButtonWasDown)
        {
            OVR_Main_Cam.transform.Translate(0, 0, yMD_TimeScaled_LinVel);
            OVR_Main_Cam.transform.RotateAround(argosSphere.transform.position, OVR_Main_Cam.transform.up, xMD_TimeScaled_AngVel);

            if (!bMMMouseButtonisDown)
            {
                MTimer[MouseButt.MMB] += Time.deltaTime;
                if (MTimer[MouseButt.MMB] > ReleaseTime)
                {
                    MTimer[MouseButt.MMB] = 0f;
                    bMMMouseButtonWasDown = false;
                }
            }
        }

        if (Input.GetKey("right ctrl") || Input.GetKey("left ctrl"))
        {
            //if (!bRotaPivot_On)
            //{
            //    vHoldPivot = userMovement.GetComponent<UserMovement>().getCursorPostiion() + argosSphere.transform.position;
            //    bRotaPivot_On = true;
            //}
            OVR_Main_Cam.transform.RotateAround(vHoldPivot, OVR_Main_Cam.transform.up, xMD_TimeScaled_AngVel);
            OVR_Main_Cam.transform.RotateAround(vHoldPivot, OVR_Main_Cam.transform.right, yMD_TimeScaled_AngVel);
            return;
        }
        else
        {

            bRotaPivot_On = false;
        }

        if (Input.GetKey("e"))
        {
            Vector3 pos = argosSphere.transform.position;

            OVR_Main_Cam.transform.RotateAround(pos, OVR_Main_Cam.transform.up, xMD_TimeScaled_AngVel);
            OVR_Main_Cam.transform.RotateAround(pos, transform.right, -yMD_TimeScaled_AngVel);
            return;
        }

        if (bArrow[Arrow.UP] || bArrowWasDown[Arrow.UP])
        {
            //transform.Translate(0,arrowsDamped[Arrow.UP]*Time.deltaTime, 0);

            Vector3 pos = argosSphere.transform.position;
            //if (ui_control.rotateOnNavSphere)
            //{
            //    transform.RotateAround(pos, NavSphere.transform.right, -arrowsDamped[Arrow.UP] * Time.deltaTime);
            //}
            //else
            //{
                OVR_Main_Cam.transform.RotateAround(pos, transform.right, -arrowsDamped[Arrow.UP] * Time.deltaTime);
            //}    

            if (!bArrow[Arrow.UP])
            {
                ATimer[Arrow.UP] += Time.deltaTime;
                if (ATimer[Arrow.UP] > ReleaseTime)
                {
                    ATimer[Arrow.UP] = 0f;
                    bArrowWasDown[Arrow.UP] = false;
                }
            }
        }

        if (bArrow[Arrow.DOWN] || bArrowWasDown[Arrow.DOWN])
        {
            //transform.Translate(0, -arrowsDamped[Arrow.DOWN] * Time.deltaTime, 0);

            Vector3 pos = argosSphere.transform.position;

            transform.RotateAround(pos, transform.right, arrowsDamped[Arrow.DOWN] * Time.deltaTime);

            //if (ui_control.rotateOnNavSphere)
            //{
            //    transform.RotateAround(pos, NavSphere.transform.right, arrowsDamped[Arrow.DOWN] * Time.deltaTime);
            //}
            //else
            //{
                transform.RotateAround(pos, transform.right, arrowsDamped[Arrow.DOWN] * Time.deltaTime);
            //}


            if (!bArrow[Arrow.DOWN])
            {
                ATimer[Arrow.DOWN] += Time.deltaTime;
                if (ATimer[Arrow.DOWN] > ReleaseTime)
                {
                    ATimer[Arrow.DOWN] = 0f;
                    bArrowWasDown[Arrow.DOWN] = false;
                }
            }
        }

        if (bArrow[Arrow.LEFT] || bArrowWasDown[Arrow.LEFT])
        {
            //transform.Translate(-arrowsDamped[Arrow.LEFT] * Time.deltaTime, 0, 0);

            Vector3 pos = argosSphere.transform.position;

            //if (ui_control.rotateOnNavSphere)
            //{
            //      transform.RotateAround(pos, NavSphere.transform.up, arrowsDamped[Arrow.LEFT] * Time.deltaTime);
            //}
            //else
            //{
                transform.RotateAround(pos, transform.up, arrowsDamped[Arrow.LEFT] * Time.deltaTime);
            //}

            if (!bArrow[Arrow.LEFT])
            {
                ATimer[Arrow.LEFT] += Time.deltaTime;
                if (ATimer[Arrow.LEFT] > ReleaseTime)
                {
                    ATimer[Arrow.LEFT] = 0f;
                    bArrowWasDown[Arrow.LEFT] = false;
                }
            }
        }

        if (bArrow[Arrow.RIGHT] || bArrowWasDown[Arrow.RIGHT])
        {
            //transform.Translate(arrowsDamped[Arrow.RIGHT] * Time.deltaTime, 0, 0);

            Vector3 pos = argosSphere.transform.position;

            transform.RotateAround(pos, transform.up, -arrowsDamped[Arrow.RIGHT] * Time.deltaTime);

            //if (ui_control.rotateOnNavSphere)
            //{
            //    transform.RotateAround(pos, NavSphere.transform.up, -arrowsDamped[Arrow.RIGHT] * Time.deltaTime);
            //}
            //else
            //{
                transform.RotateAround(pos, transform.up, -arrowsDamped[Arrow.RIGHT] * Time.deltaTime);
            //}

            if (!bArrow[Arrow.RIGHT])
            {
                ATimer[Arrow.RIGHT] += Time.deltaTime;
                if (ATimer[Arrow.RIGHT] > ReleaseTime)
                {
                    ATimer[Arrow.RIGHT] = 0f;
                    bArrowWasDown[Arrow.RIGHT] = false;
                }
            }
        }
    }
}

To Move

AR Portal Closer
VR Portal Interaction
Nav Rota Canvas not showing

HUD_Interface_Construction_Kit_promo_Flight

66eb20626