Untitled

mail@pastecode.io avatar
unknown
csharp
a year ago
189 B
2
Indexable
Never
using UnityEngine;

public class CameraPosition : MonoBehaviour
{
    [SerializeField] Transform cameraPosition;

    void Update() => transform.position = cameraPosition.position;
}