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); } } }
public void ReleaseAsset(string assetPath, bool delNow) { if (null == assetPath) { return; } BundleHolder holder = GetExistHolder(assetPath); if (null != holder) { holder.UnRef(delNow); } }