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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961