Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShouldIncludeInBuild(string)

Determines whether to include a managed plugin in a build.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. IShouldIncludeInBuildCallback interface is deprecated and will be removed in a later version, use PluginImporter.SetIncludeInBuildDelegate instead.
bool ShouldIncludeInBuild(string path)

Parameters

path

The absolute path of the managed plugin to include or exclude.

Returns

Type

Description

boolReturns true to include the plugin identified by
path
in the build; otherwise, returns false.

Remarks

Predicate invoked during a build to determine whether to include a managed plugin (DLL) in the associated package.