Unity基础之代码篇 —— 摄像机控制、物体控制、触发器、射线、导航代理等
一、摄像机控制1.摄像机与物体同步移动public class CameraController : MonoBehaviour { // store a public reference to the Player game object, so we can refer to it's Transform public GameObject player; // Store...