using System.Collections; using System.Collections.Generic; using UnityEngine; public class CanvasCameraSetter : MonoBehaviour { private void Awake() { GetComponent().worldCamera = Camera.main; } }