Class CreateBuiltInShadersBundle
Optional build task that extracts Unity's built in shaders and assigns them to the specified bundle
Namespace: UnityEditor.Build.Pipeline.Tasks
Syntax
public class CreateBuiltInShadersBundle : object, IBuildTask
Constructors
CreateBuiltInShadersBundle(String)
Create the built-in shaders bundle.
Declaration
public CreateBuiltInShadersBundle(string bundleName)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | bundleName | The name of the bundle.  | 
Properties
ShaderBundleName
Stores the name for the built-in shaders bundle.
Declaration
public string ShaderBundleName { 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 | 
|---|---|
| Int32 | 
Implements
Methods
Run()
Run task method
Declaration
public ReturnCode Run()
Returns
| Type | Description | 
|---|---|
| ReturnCode | Return code with status information about success or failure causes.  |