popcorn/Scripts/UI/GraphicCast.cs

22 lines
366 B
C#

#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
}
}