public static float Dot (Quaternion a, Quaternion b);

説明

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

using UnityEngine;

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