Exemplo n.º 1
0
    public IABManifestLoader()
    {
        assetManifeset = null;

        manifesetLoader = null;


        isLoadFinish = false;

        //fixed
        // file:///C:/Users/lenovo/Desktop/zyj/Game/TeacherManniu/Assets/StreamingAssets/Windows/Windows
        manifesetPath = IPathTools.GetAssetBundleWWWStreamPath(IPathTools.GetRuntimeFolder());
    }
Exemplo n.º 2
0
    public void Initial(string bundle, LoaderProgrecess progress)
    {
        IsLoadFinish = false;

        theBundleName = bundle;

        loaderProgress = progress;

        assetLoader = new IABLoader(progress, BundleLoadFinish);


        //yujie fixed

        assetLoader.SetBundleName(bundle);

        string bundlePath = IPathTools.GetAssetBundleWWWStreamPath(bundle); // IPathTools.GetWWWAssetBundlePath()+"/"+bundle;

        assetLoader.LoadResources(bundlePath);
    }