GHZRTCCamera.cs 424 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class GHZRTCCamera : MonoSingleton<GHZRTCCamera>
  6. {
  7. public Camera cam;
  8. public RawImage rawImage;
  9. private void Update()
  10. {
  11. if(cam.fieldOfView>34)
  12. {
  13. // UILogManager.Instance.text3.text = cam.fieldOfView.ToString();
  14. cam.fieldOfView = 34;
  15. }
  16. }
  17. }