Answers for "how to make a camera follow script in unity"

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 "how to make a camera follow script in unity"

Browse Popular Code Answers by Language