BuildUtilities.RegisterShouldIncludeInBuildCallback

매뉴얼로 전환
public static void RegisterShouldIncludeInBuildCallback (PackageManager.IShouldIncludeInBuildCallback cb);

파라미터

cbObject of a class that implements the IShouldIncludeInBuildCallback interface.

설명

Registers a callback object for a package.

During a build operation, the Unity Package Manager invokes the IShouldIncludeInBuildCallback.ShouldIncludeInBuild method for each managed plugin (DLL) in the package whose name is IShouldIncludeInBuildCallback.PackageName. The callback implementation must return true for plugins that should be included in the build and false for plugins that should be excluded from the build.

Only one IShouldIncludeInBuildCallback callback object can be registered per package.