示例#1
0
        public void ReleaseAsset(string assetPath, bool delNow, int releasCount)
        {
            BundleHolder holder = GetExistHolder(assetPath);

            if (null != holder)
            {
                for (int i = 0; i < releasCount; ++i)
                {
                    holder.UnRef(delNow);
                }
            }
        }
示例#2
0
        public void ReleaseAsset(string assetPath, bool delNow)
        {
            if (null == assetPath)
            {
                return;
            }
            BundleHolder holder = GetExistHolder(assetPath);

            if (null != holder)
            {
                holder.UnRef(delNow);
            }
        }