Answers for "camera follow"

C#
9

camera follow

public Transform player;

    public Vector3 offset;

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

C# Answers by Framework

Browse Popular Code Answers by Language