📅  最后修改于: 2022-03-11 14:49:12.960000             🧑  作者: Mango
// CAMERA FOLLOW PLAYER - IN FIXEDUPDATE
Vector3.SmoothDamp(cam.position, transform.position + cameraOffset, ref cameraVelocity, CameraFollowSmoothTime);
cam.position = cam.position + cameraVelocity * Time.deltaTime;