Version: 2017.3
public Quaternion attitude ;

설명

Returns the attitude (ie, orientation in space) of the device.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Update() { transform.rotation = Input.gyro.attitude; } }