Exemplo n.º 1
0
        public static AssetBundleSceneRes Allocate(string name)
        {
            AssetBundleSceneRes res = SafeObjectPool <AssetBundleSceneRes> .Instance.Allocate();

            if (res != null)
            {
                res.AssetName = name;
                res.InitAssetBundleName();
            }
            return(res);
        }
Exemplo n.º 2
0
 public IRes Create(ResSearchKeys resSearchKeys)
 {
     return(AssetBundleSceneRes.Allocate(resSearchKeys.AssetName));
 }