Version: 2019.2
public Quaternion attitude ;

Description

Возвращает положение устройства в пространстве.

using UnityEngine;

public class Example : MonoBehaviour { // Rotate the object to match the device's orientation // in space. void Update() { transform.rotation = Input.gyro.attitude; } }