void IInitializeSystem.Initialize() { var sprites = Resources.LoadAll <UnityEngine.Sprite>("Sprites"); var spriteCache = new Dictionary <string, UnityEngine.Sprite>(); foreach (var s in sprites) { spriteCache.Add(s.name, s); } pool.SetSpriteCache(spriteCache); }