CameraAutoLoader.cs 447 B

12345678910111213141516171819202122232425
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class CameraAutoLoader : MonoBehaviour
  5. {
  6. public MenuMaker CameraContent;
  7. private void OnEnable() {
  8. InteractionManagement.Instance.SetCamera(CameraContent);
  9. }
  10. // Start is called before the first frame update
  11. void Start()
  12. {
  13. }
  14. // Update is called once per frame
  15. void Update()
  16. {
  17. }
  18. }