Version: 2017.4
public static AccelerationEvent GetAccelerationEvent (int index);

説明

最後のフレーム間で発生した加速度を返します(一時的な変数は割り当てられません)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Update() { Vector3 acceleration = Vector3.zero; int i = 0; while (i < Input.accelerationEventCount) { AccelerationEvent accEvent = Input.GetAccelerationEvent(i); acceleration += accEvent.acceleration * accEvent.deltaTime; ++i; } print(acceleration); } }