Method AddBackgroundShaderToProject
AddBackgroundShaderToProject(string)
Adds a background shader with the given name to the project as a preloaded asset.
Declaration
public static void AddBackgroundShaderToProject(string shaderName)
Parameters
Type | Name | Description |
---|---|---|
string | shaderName | The name of a shader to add to the project. |
Exceptions
Type | Condition |
---|---|
BuildFailedException | Thrown if a shader with the given name cannot be found. |