Esempio n. 1
0
        public static AssetBundle LoadFromFile(string path)
        {
            uint crc = 0u;

            return(AssetBundle.LoadFromFile(path, crc));
        }
Esempio n. 2
0
        public static AssetBundle LoadFromFile(string path, uint crc)
        {
            ulong offset = 0uL;

            return(AssetBundle.LoadFromFile(path, crc, offset));
        }
Esempio n. 3
0
        ////// 从StreamingAssetsPath加载
        public static AssetBundle LoadFromStreamingAssetsPath(string path)
        {
            AssetBundle ab = AssetBundle.LoadFromFile(Application.streamingAssetsPath + "/" + path);

            return(ab);
        }