Interface IBuildContext
Base interface for build data container system
Namespace: UnityEditor.Build.Pipeline.Interfaces
Assembly: solution.dll
Syntax
public interface IBuildContext
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. |