using UnityEngine;
public class LookViewUser : MonoBehaviour
{
public Camera mainCamer = null;
public void Awake()
{
mainCamer = Camera.main;
}
public void Update()
{
if (mainCamer == null) return;
if (mainCamer != null)
{
transform.LookAt(mainCamer.transform);
}
}
}
面向摄像机
最新推荐文章于 2025-07-02 11:21:11 发布
2491

被折叠的 条评论
为什么被折叠?



