public static void UnLoadAsset(string url, object requestTarget = null) { PrefabLoader prefabloader = ResourcesLoaderMgr.GetExitLoaderInstance <PrefabLoader>(url); if (prefabloader == null) { //Debug.LogError("无法获取指定类型的加载器 " + typeof(PrefabLoader)); return; } if (requestTarget == null) { requestTarget = prefabloader.m_RequesterTarget; } prefabloader.ReduceReference(prefabloader, false); }