Answers for "unity camera follow player scipt"

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 scipt"

Browse Popular Code Answers by Language