Class ARBuildProcessor
A utility class to run AR build preprocessors.
Inherited Members
Namespace: UnityEditor.XR.ARSubsystems
Syntax
public static class ARBuildProcessor
Methods
PreprocessBuild(BuildTarget)
Applies any preprocessing necessary to setup assets for a given build target.
Declaration
public static void PreprocessBuild(BuildTarget buildTarget)
Parameters
Type | Name | Description |
---|---|---|
UnityEditor.BuildTarget | buildTarget | The build target for which assets should be preprocessed. |
Remarks
This method instantiates all classes that derive from ARBuildProcessor.IPreprocessBuild and executes their OnPreprocessBuild(PreprocessBuildEventArgs) methods.
You should call this before building asset bundles (see BuildPipeline.BuildAssetBundles) in order to ensure that all AR assets have been correctly configured.