using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CamFolRole : MonoBehaviour {
public GameObject role;
public Vector3 offer;
public float speed=0.5f;
public float distance = 0;
public float crameSpeed = 10;//缩放速度
public float rotateSpeed = 5;//旋转速度
private bool isRotating = false;//是否滑动
// Update is called once per frame
void Start()
{
offer = transform.position - role.transform.position;
}
void Update ()
RPG黑暗之光学习笔记 摄像头设置
最新推荐文章于 2021-06-26 19:48:54 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)