#if UNITY_EDITOR using UnityEditor; #endif namespace UnityEngine.UI { public class GraphicCast : Graphic { protected override void OnPopulateMesh(VertexHelper vh){ base.OnPopulateMesh(vh); vh.Clear(); } #if UNITY_EDITOR [CustomEditor(typeof(GraphicCast))] class GraphicCastEditor : Editor { public override void OnInspectorGUI(){ } } #endif } }