/// <summary> /// 获取数据节点 /// </summary> /// <returns></returns> public static ResLoader Get() { ResLoader ret = sPool.Get(); ret.Reset(); return(ret); }
public void RemoveRes(string resPath) { if (!resPath.Filled()) { Logger.Log("resPath no Filled"); return; } ResLoader ret = null; if (sMap.TryGetValue(resPath, out ret)) { ret.Reset(); sMap.Remove(resPath); } } //end Load