Version: 2018.2

IShouldIncludeInBuildCallback

interface in UnityEditor.PackageManager

Switch to Manual

Description

Interface used by the Package Manager to request build information about packages.

The ShouldIncludeInBuild method defines the interface for callback functions invoked by the Package Manager as it process each file in the package identified by PackageName.

Register your implementation with the Package Manager using BuildUtilities.RegisterShouldIncludeInBuildCallback. You can only register one implementation of this interface per package.

See Also: BuildUtilities.

Variables

PackageNameThe package name.

Public Functions

ShouldIncludeInBuildDefines the signature for the function invoked by the Package Manager to determine whether a package file should be included or excluded from a project build.