summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Utils/ListPool.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-17 09:33:17 +0800
committerchai <chaifix@163.com>2021-09-17 09:33:17 +0800
commitea4624fbef6e9d8f58da12be363807eb19a37b53 (patch)
tree5853f375a27121d9377288e818c7a93714d39e0c /Assets/Scripts/Utils/ListPool.cs
parentb7a445554e3f57b5fe4b1f1c619d0bed022893b6 (diff)
+glitch
Diffstat (limited to 'Assets/Scripts/Utils/ListPool.cs')
-rw-r--r--Assets/Scripts/Utils/ListPool.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assets/Scripts/Utils/ListPool.cs b/Assets/Scripts/Utils/ListPool.cs
index b9fbd2b8..9819aa48 100644
--- a/Assets/Scripts/Utils/ListPool.cs
+++ b/Assets/Scripts/Utils/ListPool.cs
@@ -21,7 +21,7 @@ public static class ListPool<T>
});
}
-internal class ObjectPool<T> where T : new()
+public class ObjectPool<T> where T : new()
{
private readonly Stack<T> m_Stack = new Stack<T>();
private readonly UnityAction<T> m_ActionOnGet;