コード例 #1
0
ファイル: AssetBundle.cs プロジェクト: qipa/UnityDecompiled-2
        public static AssetBundle LoadFromFile(string path)
        {
            uint crc = 0u;

            return(AssetBundle.LoadFromFile(path, crc));
        }
コード例 #2
0
ファイル: AssetBundle.cs プロジェクト: yaoya/UnityDecompiled
        public static AssetBundle LoadFromFile(string path, uint crc)
        {
            ulong offset = 0uL;

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

            return(ab);
        }