using System.Collections.Generic; namespace UnityEngine.UI { internal static class ListPool { private static readonly UnityEngine.UI.ObjectPool> s_ListPool = new UnityEngine.UI.ObjectPool>(null, delegate(List l) { l.Clear(); }); public static List Get() { return s_ListPool.Get(); } public static void Release(List toRelease) { s_ListPool.Release(toRelease); } } }