From c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 19 Apr 2020 17:19:32 -0400 Subject: Inital commit --- .../Scripts/Runtime/TMP_SelectionCaret.cs | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SelectionCaret.cs (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SelectionCaret.cs') diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SelectionCaret.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SelectionCaret.cs new file mode 100644 index 0000000..2d3cacf --- /dev/null +++ b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SelectionCaret.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using UnityEngine.UI; + + +namespace TMPro +{ + /// + /// A simple component that can be added to a newly created object where inheriting from MaskableGraphic is needed. + /// + public class TMP_SelectionCaret : MaskableGraphic + { + + /// + /// Override to Cull function of MaskableGraphic to prevent Culling. + /// + /// + /// + public override void Cull(Rect clipRect, bool validRect) + { + //base.Cull(clipRect, validRect); + } + } +} -- cgit v1.2.3