Unity Smooth Camera 2d

[Solved] Unity Smooth Camera 2d | Csharp - Code Explorer | yomemimo.com
Question : unity smooth camera 2d

Answered by : ye-doy

 public float FollowSpeed = 2f; public Transform Target; private void Update() { Vector3 newPosition = Target.position; newPosition.z = -10; transform.position = Vector3.Slerp(transform.position, newPosition, FollowSpeed * Time.deltaTime); }

Source : | Last Update : Sat, 02 Jul 22

Answers related to unity smooth camera 2d

Code Explorer Popular Question For Csharp