/始终朝向相机///
using UnityEngine;
public class LookAtMainCamera : MonoBehaviour
{
void LateUpdate()
{
transform.forward = Camera.main.transform.forward;
}
}
/始终朝向相机///
using UnityEngine;
public class LookAtMainCamera : MonoBehaviour
{
void LateUpdate()
{
transform.forward = Camera.main.transform.forward;
}
}