From 3af4c218c0e70167db23a6303d2af30aff37d2fe Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 20 Aug 2020 23:40:50 -0400 Subject: Removed a bunch of stuff; Changes --- .../Scripts/Runtime/TMP_ListPool.cs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_ListPool.cs (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_ListPool.cs') diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_ListPool.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_ListPool.cs deleted file mode 100644 index 0220af2..0000000 --- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_ListPool.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Collections.Generic; - - -namespace TMPro -{ - internal static class TMP_ListPool - { - // Object pool to avoid allocations. - private static readonly TMP_ObjectPool> s_ListPool = new TMP_ObjectPool>(null, l => l.Clear()); - - public static List Get() - { - return s_ListPool.Get(); - } - - public static void Release(List toRelease) - { - s_ListPool.Release(toRelease); - } - } -} \ No newline at end of file -- cgit v1.2.3