예제 #1
0
        public static AssetsFile LoadAssetFromBundle(AssetBundleFile bundle, string name)
        {
            int index = bundle.GetFileIndex(name);

            if (index < 0)
            {
                return(null);
            }

            return(LoadAssetFromBundle(bundle, index));
        }