private static ResourceManager LoadResourceFileWithCache(string filePath, IResourceLocator locator) { if (!CACHE.ContainsKey(filePath)) { CACHE.Add(filePath, locator.LoadBundle(filePath)); } return(CACHE[filePath]); }
private static ResourceManager LoadResourceFileWithCache(string filePath, IResourceLocator locator) { if (!CACHE.ContainsKey(filePath)) { CACHE.Add(filePath, locator.LoadBundle(filePath)); } return CACHE[filePath]; }