Version: 2017.4
public static float Dot (Quaternion a, Quaternion b);

説明

2 つの回転の内積を返します。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print(Quaternion.Dot(transform.rotation, Quaternion.identity)); } }