Example #1
0
 public bool IsDirty(ResInfoData data)
 {
     return(data.isKeepInMemory != isKeepInMemory ||
            data.isResourcesPath != isResourcesPath ||
            data.address != address ||
            data.path != path);   //|| data.isFairyGuiPack != isFairyGuiPack;
 }
        public T GetResByUrl <T>(string url) where T : Object
        {
            ResInfoData data = cfg.ResData.GetResInfoByUrl(url);

            if (data == null)
            {
                Debug.LogError("不存在这个url :" + url);
            }
            else
            {
                return(GetRes <T>(data.address));
            }

            return(null);
        }