123456789101112131415161718192021222324252627282930313233343536 |
- using UnityEngine;
- using UnityEngine.UI;
- namespace TMPro
- {
-
-
-
- public class TMP_SelectionCaret : MaskableGraphic
- {
-
-
-
-
-
- public override void Cull(Rect clipRect, bool validRect)
- {
-
- if (validRect)
- {
- canvasRenderer.cull = false;
- CanvasUpdateRegistry.RegisterCanvasElementForGraphicRebuild(this);
- return;
- }
- base.Cull(clipRect, validRect);
- }
- protected override void UpdateGeometry()
- {
-
- }
- }
- }
|