unity实现简单的摄像机切换

下面这段代码实现了简单的摄像机之间的切换,分别按1,2,3 能够选择不一样的摄像机code using UnityEngine; using System.Collections; public class CameraSwitch : MonoBehaviour { // Update is called once per frame void Update() { if (Inpu
相关文章
相关标签/搜索