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

설명

The dot product between two rotations.

using UnityEngine;
using System.Collections;

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