Version: 2018.2
public bool ShouldIncludeInBuild (string path);

パラメーター

pathThe absolute path of the file to be included or excluded.

戻り値

bool Return true if the file given by path should be included in the build; otherwise, return false.

説明

Defines 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.

Implementations of this function must take the absolute path of a file in a package and return whether or not to include the file in the build. Register an instance of the class implementing this function with the BuildUtilities.RegisterShouldIncludeInBuildCallback function.