docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ARBuildProcessor

    A utility class to run AR build preprocessors.

    Inheritance
    object
    ARBuildProcessor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.Editor.dll
    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
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)