예제 #1
0
    public void UpdateAssetBundleMainfestInfo(string mainfestParentPath, string abMainfestPath)
    {
        //TODO
        this.mainfestParentPath = PathTool.FixedPath(mainfestParentPath + "/");
        AssetBundle ab = AssetBundle.LoadFromFile(abMainfestPath);

        abMainfest = ab.LoadAsset("assetbundlemanifest") as AssetBundleManifest;
        ab.Unload(false);
    }
예제 #2
0
 public static void FixedBundleFilePath(ref string bundlePath)
 {
     if (!bundlePath.EndsWith(".ab"))
     {
         bundlePath += bundlePath + ".ab";
     }
     bundlePath = PathTool.FixedPath(bundlePath);
     bundlePath = bundlePath.ToLower();
 }