Static Public Member Functions | List of all members
BuildBundles_PackedManifest Class Reference

Detailed Description

Build bundles and create a PackedManifest.

The need for this file stems from Unity's bundle building sample code being just as screwy as the runtime code.

This could be refactored into something more general for other manifest formats.

Static Public Member Functions

static Exception  BuildAssetBundles (string outputPath, out string outManifestPath)
 
static Exception  BuildAssetBundles (string outputPath, out PackedManifest outManifest, out string outManifestPath)
 
static PackedManifest  AllocPackedManifest (string projectPath)
 

Member Function Documentation

◆ BuildAssetBundles() [1/2]

static Exception BuildAssetBundles ( string  outputPath,
out PackedManifest  outManifest,
out string  outManifestPath 
)
inlinestatic

Build the project's bundles.

Parameters
outputPath Path relative to project folder
outManifest Returns the content of the manifest that was built.
outManifestPath Returns path of the manifest file in the output folder.
Returns
Error or null on success.

◆ BuildAssetBundles() [2/2]

static Exception BuildAssetBundles ( string  outputPath,
out string  outManifestPath 
)
inlinestatic

Build the project's bundles.

Parameters
outputPath Path relative to project folder
outManifestPath Returns path of the manifest file in the output folder.
Returns
Error or null on success.