学习unity成长历程,三视角切换
脚本编写
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Cam1 : MonoBehaviour
{
private GameObject Came1; //定义游戏对象类型的变量
private GameObject Came2;
private GameObject Came3;
private int count=1; //用于判断切换当前应切换那个视角