using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraRotate : MonoBehaviour {
public Transform pos; //围绕旋转的坐标点
// Update is called once per frame
void Update () {
transform.RotateAround(pos.position,pos.up,Time.deltaTime*5);
}
}