Class BuildContext
Basic implementation of IBuildContext. Stores data generated during a build. IBuildContext
Implements
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Assembly: solution.dll
Syntax
public class BuildContext : IBuildContext
Constructors
| Name | Description |
|---|---|
| BuildContext() | Default constructor |
| BuildContext(params IContextObject[]) | Default constructor, adds the passed in parameters to the context. |
Methods
| Name | Description |
|---|---|
| ContainsContextObject(Type) | Checks the build context for existence of a data that is of the specified type. |
| ContainsContextObject<T>() | Checks the build context for existence of a data that is of the specified type. |
| GetContextObject(Type) | Gets the data of the specified type contained in the build context. |
| GetContextObject<T>() | Gets the data of the specified type contained in the build context. |
| SetContextObject(Type, IContextObject) | Adds the data of the specified type to the build context. |
| SetContextObject(IContextObject) | Adds the data to the build context. Type will be inferred using Reflection. |
| SetContextObject<T>(IContextObject) | Adds the data of the specified type to the build context. |
| TryGetContextObject(Type, out IContextObject) | Tries to get the data of the specified type contained in the build context. |
| TryGetContextObject<T>(out T) | Tries to get the data of the specified type contained in the build context. |