internal static void decRef(string[] depends) { if (depends == null) { return; } for (int i = 0, max = depends.Length; i < max; ++i) { string key = depends [i]; if (string.IsNullOrEmpty(key)) { continue; } ResLoad.decAssetRef(key); } }
internal void decRef() { if (mDepends == null) { return; } for (int i = 0, max = mDepends.Length; i < max; ++i) { string key = mDepends [i]; if (string.IsNullOrEmpty(key)) { continue; } ResLoad.decAssetRef(key); } mDepends = null; }