Version: 2022.3
언어: 한국어
public static float Dot (Quaternion a, Quaternion b);

설명

The dot product between two rotations.

using UnityEngine;

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