CameraAutoLoader.cs 502 B

1234567891011121314151617181920212223242526
  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. if(InteractionManagement.Instance != null)
  9. InteractionManagement.Instance.SetCamera(CameraContent);
  10. }
  11. // Start is called before the first frame update
  12. void Start()
  13. {
  14. }
  15. // Update is called once per frame
  16. void Update()
  17. {
  18. }
  19. }