public void LoadSprite(string path, bool cacheSprite = true) { _pastTime = 0;//加载请求时候,延迟检查图片过期 int count = _loadingLoader.Count; for (int i = 0; i < count; i++) { if (_loadingLoader[i].Path.Equals(path)) { //Debug.Log(path + " is loading , loading total count " + _loadingLoader.Count); return; } } Debug.Log("--- start load " + path + " loading count " + _loadingLoader.Count); SpriteLoader sl = new SpriteLoader(); sl.SetManager(this); sl.Run(path, cacheSprite); _loadingLoader.Add(sl); }