CamFollower

PHOTO EMBED

Sun Oct 13 2024 14:34:58 GMT+0000 (Coordinated Universal Time)

Saved by @iliavial #c#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour
{

    public Transform target;
    public Vector3 offset;

    // Update is called once per frame
    void Update()
    {
        transform.position = target.position + offset;
    }
}
content_copyCOPY