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

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

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

            return(ab);
        }