Allows users to view 360º content without a VR headset. I have read the article and used the script from the below link. https://developers.google.com/vr/develop/unity/guides/magic-window?authuser=1 this is working perfectly fine. check this code: transform.localRotation = // Allow user to drag left/right to adjust direction they're facing. Quaternion.Euler (0f, -dragYawDegrees, 0f) * // Neutral position is phone held upright, not flat on a table. Quaternion.Euler (90f, 0f, 0f) * // Sensor reading, assuming default `Input.compensateSensors == true`. Input.gyro.attitude * // So image is not upside down. Quaternion.Euler (0f, 0f, 180f); which helps in dragging left/right. But I also want to swipe upward/downward. Does anyone have idea how can I do this using the script available in the above link?