using System; using UnityEngine; using UnityEngine.UI; namespace TyphoonUI { /// /// UI空检测 /// [RequireComponent(typeof(CanvasRenderer))] public class UIRayCast : Graphic { public override void SetMaterialDirty() { } public override void SetVerticesDirty() { } protected override void OnPopulateMesh(VertexHelper vh) { vh.Clear(); } } }