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.

23 lines
632 B

  1. using UnityEngine;
  2. using UnityEngine.UI;
  3. namespace TMPro
  4. {
  5. /// <summary>
  6. /// A simple component that can be added to a newly created object where inheriting from MaskableGraphic is needed.
  7. /// </summary>
  8. public class TMP_SelectionCaret : MaskableGraphic
  9. {
  10. /// <summary>
  11. /// Override to Cull function of MaskableGraphic to prevent Culling.
  12. /// </summary>
  13. /// <param name="clipRect"></param>
  14. /// <param name="validRect"></param>
  15. public override void Cull(Rect clipRect, bool validRect)
  16. {
  17. //base.Cull(clipRect, validRect);
  18. }
  19. }
  20. }