private void UpdatePose()
        {
            Pose pose = Pose.identity;

            PoseDevice.GetHeadPoseByTime(ref pose);

            transform.localRotation = pose.rotation;
        }
        public static void ResetYaw()
        {
            float[] eulerAngles     = mJavaObject.Call <float[]>("getMobileEulerAngles");
            float[] eulerAnglesHead = mJavaObject.Call <float[]>("getEulerAngles");
            float   headResetYaw    = PoseDevice.GetResetYaw();

            mResetYaw = eulerAnglesHead[1] + headResetYaw - eulerAngles[1];
        }
        // Update is called once per frame
        void Update()
        {
            if (!isInited)
            {
                Init();
            }

            // Check key event
            if (InputDevice.GetTouchButton(InputDevice.TouchButtonType.BUTTON_A))
            {
                PoseDevice.ResetYaw();
            }

            UpdatePose();
        }