using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class MathfHelper
{
///
/// 计算连个向量之间的夹角
///
///
///
public static void GetDirAngle(Vector3 dirA,Vector3 dirB)
{
float dot = Vector3.Dot(dirA.normalized, dirB.normalized);
float angle = Mathf.Acos(dot) * Mathf.Rad2Deg;
}
}