IShouldIncludeInBuildCallback
Interface used by the Package Manager to request build information about packages.
Read time 1 minuteLast updated 24 days ago
Definition
- Type: Interface
- Namespace: UnityEditor.PackageManager
- Assembly: UnityEditor
public interface IShouldIncludeInBuildCallback
Remarks
During a build, the IShouldIncludeInBuildCallback.ShouldIncludeInBuild method is invoked on each managed plugin (DLL) inside the package whose name is IShouldIncludeInBuildCallback.PackageName.
Register your implementation with the Package Manager using RegisterShouldIncludeInBuildCallback. You can only register one implementation of this interface per package.
Additional Resources: BuildUtilities.
Properties
Property | Description |
|---|---|
| PackageName | The package name. |
Methods
Method | Description |
|---|---|
| ShouldIncludeInBuild | Determines whether to include a managed plugin in a build. |