mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-05-29 23:03:16 +00:00
21 lines
267 B
C#
21 lines
267 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class CameraMove : MonoBehaviour
|
|
{
|
|
public Transform cameraPosition;
|
|
|
|
|
|
private void FixedUpdate()
|
|
{
|
|
|
|
transform.position = cameraPosition.position;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|