public void ReleasePreAssetCat() { if (preAssetCat != null) { if (!preAssetCat.IsLoadSuccess()) { preAssetCat.RemoveCallback(this); } preAssetCat.SubRefCount(1, true); } preAssetPath = null; preAssetCat = null; }
public void ReleaseCurAssetCat() { if (curAssetCat != null) { if (!curAssetCat.IsLoadSuccess()) { curAssetCat.RemoveCallback(this); } curAssetCat.SubRefCount(1, true); } curAssetPath = null; curAssetCat = null; }