public void Init(string bundleName, string assetName, ResNotificationListener listener) { m_only = string.IsNullOrEmpty(assetName); m_bundleRes = ResPool.Get <BundleRes>(ResData.AllocateBundle(bundleName), true); if (!m_only) { m_assetRes = ResPool.Get <AssetRes>(ResData.AllocateAsset(assetName, bundleName), true); } m_listener = listener; }