Class BundleBuildParameters
Stores the set of parameters passed into Scriptable Build Pipeline when building bundles.
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Syntax
public class BundleBuildParameters : BuildParameters, IBundleBuildParameters, IBuildParameters, IContextObject
Constructors
BundleBuildParameters(BuildTarget, BuildTargetGroup, String)
Default constructor, requires the target, group and output parameters at minimum for a successful build.
Declaration
public BundleBuildParameters(BuildTarget target, BuildTargetGroup group, string outputFolder)
Parameters
Type | Name | Description |
---|---|---|
BuildTarget | target | The target for building content. |
BuildTargetGroup | group | The group for building content. |
String | outputFolder | The final output location for built content. |
Properties
AppendHash
Append the hash to the assetBundle file name.
Declaration
public bool AppendHash { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Implements
ContiguousBundles
Packs assets in bundles contiguously based on the ordering of the source asset which results in improved asset loading times.
Declaration
public bool ContiguousBundles { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Implements
DisableVisibleSubAssetRepresentations
Assume sub Assets have no visible asset representations (are not visible in the Project view) which results in improved build times. Sub Assets in the built bundles cannot be accessed by AssetBundle.LoadAsset<T> or AssetBundle.LoadAllAssets<T>.
Declaration
public bool DisableVisibleSubAssetRepresentations { get; set; }
Property Value
Type | Description |
---|---|
Boolean |