UISnapshotPoint.cs 466 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using UnityEngine;
  3. [ExecuteInEditMode]
  4. [AddComponentMenu("NGUI/Internal/Snapshot Point")]
  5. public class UISnapshotPoint : MonoBehaviour
  6. {
  7. private void Start()
  8. {
  9. if (base.tag != "EditorOnly")
  10. {
  11. base.tag = "EditorOnly";
  12. }
  13. }
  14. public bool isOrthographic = true;
  15. public float nearClip = -100f;
  16. public float farClip = 100f;
  17. [Range(10f, 80f)]
  18. public int fieldOfView = 35;
  19. public float orthoSize = 30f;
  20. public Texture2D thumbnail;
  21. }