using UnityEngine; using System.Collections; using UnityEngine.UI; namespace BF { [RequireComponent(typeof(CanvasRenderer))] public class EmptyRaycast : MaskableGraphic { protected override void OnPopulateMesh(VertexHelper vh) { vh.Clear(); } protected EmptyRaycast() { useLegacyMeshGeneration = false; } } }