docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class OpenXRFeatureBuildHooks

    Inherit from this class to get callbacks to hook into the build process when your OpenXR Extension is enabled.

    Inheritance
    object
    OpenXRFeatureBuildHooks
    Implements
    IPostGenerateGradleAndroidProject
    IPostprocessBuildWithReport
    IPreprocessBuildWithReport
    IOrderedCallback
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.XR.OpenXR.Features
    Assembly: solution.dll
    Syntax
    public abstract class OpenXRFeatureBuildHooks : IPostGenerateGradleAndroidProject, IPostprocessBuildWithReport, IPreprocessBuildWithReport, IOrderedCallback

    Properties

    Name Description
    callbackOrder

    Returns the current callback order for build processing.

    featureType

    System.Type of the class that implements OpenXRFeature.

    Methods

    Name Description
    OnPostGenerateGradleAndroidProject(string)

    Post process build step for checking if a feature is enabled for android builds. If so will call to the feature to run their build post processing for android builds.

    OnPostGenerateGradleAndroidProjectExt(string)

    Called during build process when extension is enabled. Implement this function to receive a callback after the Android Gradle project is generated and before building begins. Function is not called for Internal builds.

    OnPostprocessBuild(BuildReport)

    Post-process build step for any necessary clean-up. This will also call to the feature to run their build post processing.

    OnPostprocessBuildExt(BuildReport)

    Called during the build process when extension is enabled. Implement this function to receive a callback after the build is complete.

    OnPreprocessBuild(BuildReport)

    Post process build step for checking if a feature is enabled. If so will call to the feature to run their build pre processing.

    OnPreprocessBuildExt(BuildReport)

    Called during the build process when the feature is enabled. Implement this function to receive a callback before the build starts.

    OnProcessBootConfigExt(BuildReport, BootConfigBuilder)

    Called during the build process when extension is enabled. Implement this function to add Boot Config Settings.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023