Orb of experience(s)

This commit is contained in:
2023-10-10 16:30:12 +02:00
parent 2abdb96912
commit ae38582ddc
15 changed files with 511 additions and 6 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ using UnityEngine;
public class CameraFollow : MonoBehaviour
{
private Vector3 _offset = new Vector3(0f, 0f, -10f);
private float _smoothTime = 10f;
private Vector3 _offset = new(0f, 0f, -10f);
private readonly float _smoothTime = 5f;
private Vector3 _velocity = Vector3.zero;
[SerializeField] private Transform _target;