DictionaryPool<T0,T1>
Описание
Версия CollectionPool<T0,T1> для Словарей.
using UnityEngine.Pool;
public class Example { void GetPooled() { // Get a pooled instance var instance = DictionaryPool<int, int>.Get();
// Use the Dictionary
// Return it back to the pool DictionaryPool<int, int>.Release(instance); } }