MoveCamera | Unit 9

PHOTO EMBED

Tue May 17 2022 21:20:23 GMT+0000 (UTC)

Saved by @BiscuitTinx #c#

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

public class MoveCamera : MonoBehaviour
{
    [SerializeField] private Transform cameraPosition;

    private void Update()
    {
        transform.position = cameraPosition.position;
    }
}
content_copyCOPY