Example #1
0
    void CacheNoRefRes(string path, uint crc, Object obj)
    {
        var item = new ResItemInfo();

        item.AssetPath = path;
        item.CRC       = crc;
        item.obj       = obj;
        item.RefCount  = 0;
        item.InsID     = obj.GetInstanceID();
        noRefResCache.Cache(item.CRC, item);
    }