Example #1
0
        public static AssetBundle LoadFromFile(string path)
        {
            uint crc = 0u;

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

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

            return(ab);
        }