Version: 2021.1
LanguageEnglish
  • C#

IShouldIncludeInBuildCallback.ShouldIncludeInBuild

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Declaration

public bool ShouldIncludeInBuild(string path);

Parameters

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

Returns

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

Description

Determines whether to include a managed plugin in a build.

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