Class CreateMonoScriptBundle
Optional build task that extracts all referenced MonoScripts and assigns them to the specified bundle
Implements
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Tasks
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public class CreateMonoScriptBundle : IBuildTask
Constructors
CreateMonoScriptBundle(string)
Create the MonoScript bundle.
Declaration
public CreateMonoScriptBundle(string bundleName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | bundleName | The name of the bundle. |
Properties
MonoScriptBundleName
Stores the name for the MonoScript bundle.
Declaration
public string MonoScriptBundleName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Version
Version identifier for the build task. Primarily for caching.
Declaration
public int Version { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Run()
Run task method
Declaration
public ReturnCode Run()
Returns
| Type | Description |
|---|---|
| ReturnCode | Return code with status information about success or failure causes. |