docs.unity3d.com
    Show / Hide Table of Contents

    Class AdaptivePerformanceBuildHelper<T>

    Base abstract class that provides some common functionality for providers seeking to integrate with management assisted build.

    Inheritance
    Object
    AdaptivePerformanceBuildHelper<T>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AdaptivePerformance.Editor
    Syntax
    public abstract class AdaptivePerformanceBuildHelper<T> : IPreprocessBuildWithReport, IPostprocessBuildWithReport, IOrderedCallback where T : Object
    Type Parameters
    Name Description
    T

    The type parameter that will be used as the base type of the settings.

    Properties

    BuildSettingsKey

    Override of base IPreprocessBuildWithReport.

    Declaration
    public abstract string BuildSettingsKey { get; }
    Property Value
    Type Description
    String

    String that specifies the key to be used to set or get settings in EditorBuildSettings.

    callbackOrder

    Override of base IPreprocessBuildWithReport.

    Declaration
    public virtual int callbackOrder { get; }
    Property Value
    Type Description
    Int32

    The callback order.

    Implements
    UnityEditor.Build.IOrderedCallback.callbackOrder

    Methods

    OnPostprocessBuild(BuildReport)

    Override of base IPostprocessBuildWithReport.

    Declaration
    public virtual void OnPostprocessBuild(BuildReport report)
    Parameters
    Type Name Description
    UnityEditor.Build.Reporting.BuildReport report

    BuildReport instance passed in from build pipeline.

    Implements
    UnityEditor.Build.IPostprocessBuildWithReport.OnPostprocessBuild(UnityEditor.Build.Reporting.BuildReport)

    OnPreprocessBuild(BuildReport)

    Override of base IPreprocessBuildWithReport.

    Declaration
    public virtual void OnPreprocessBuild(BuildReport report)
    Parameters
    Type Name Description
    UnityEditor.Build.Reporting.BuildReport report

    BuildReport instance passed in from the build pipeline.

    Implements
    UnityEditor.Build.IPreprocessBuildWithReport.OnPreprocessBuild(UnityEditor.Build.Reporting.BuildReport)

    SettingsForBuildTargetGroup(BuildTargetGroup)

    Helper function to return current settings for a specific build target.

    Declaration
    public virtual Object SettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup)
    Parameters
    Type Name Description
    UnityEditor.BuildTargetGroup buildTargetGroup

    An enum that specifies which platform group this build is for.

    Returns
    Type Description
    UnityEngine.Object

    A Unity object that represents the settings instance data for that build target, or null if not found.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023