using UnityEngine;

namespace Camera
{
	public class CanvasCameraAssign : MonoBehaviour
	{
		[SerializeField] private CameraManager cameraManager;
		[SerializeField] private Canvas canvas;
		
		private void Start()
		{
			canvas.worldCamera = cameraManager.CurrentCameraController.GameCamera;
		}
	}
}
