文档

Unity Engine

Unity Engine

ShouldIncludeInBuild(string)

Determines whether to include a managed plugin in a build.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
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.