Answers for "unity camera follow player smoothly"

9

camera follow

public Transform player;

    public Vector3 offset;

    void LateUpdate()
    {
        transform.position = player.position + offset;
    }
Posted by: Guest on June-11-2020

Code answers related to "unity camera follow player smoothly"

Browse Popular Code Answers by Language