赞
踩
用代码让摄像机跟随
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Test : MonoBehaviour { public Transform pos; public Transform rot; private void Awake() { UnityEngine.XR.InputTracking.disablePositionalTracking = false; } private void Update() { transform.position = pos.position + Vector3.up * 0.8f; transform.eulerAngles = new
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。