12345678910111213141516171819202122232425262728 |
- using System;
- using UnityEngine;
- [ExecuteInEditMode]
- [AddComponentMenu("NGUI/Internal/Snapshot Point")]
- public class UISnapshotPoint : MonoBehaviour
- {
- private void Start()
- {
- if (base.tag != "EditorOnly")
- {
- base.tag = "EditorOnly";
- }
- }
- public bool isOrthographic = true;
- public float nearClip = -100f;
- public float farClip = 100f;
- [Range(10f, 80f)]
- public int fieldOfView = 35;
- public float orthoSize = 30f;
- public Texture2D thumbnail;
- }
|