Class BundleBuildParameters
Stores the set of parameters passed into Scriptable Build Pipeline when building bundles.
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
[Serializable]
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 of the AssetBundle content to the file name.
Declaration
public bool AppendHash { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |
---|---|
bool |
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 |
---|---|
bool |