You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 regels
296 B

  1. using System;
  2. using UnityEngine.UI;
  3. namespace CIG
  4. {
  5. public class GraphicRaycastTarget : Graphic
  6. {
  7. protected override void Awake()
  8. {
  9. base.Awake();
  10. this.raycastTarget = true;
  11. }
  12. protected override void OnPopulateMesh(VertexHelper vh)
  13. {
  14. vh.Clear();
  15. }
  16. }
  17. }