docs.unity.cn
    Show / Hide Table of Contents

    Class AdaptivePerformanceSupportedBuildTargetAttribute

    Build attribute to identify which platforms a loader supports.

    Inheritance
    Object
    Attribute
    AdaptivePerformanceSupportedBuildTargetAttribute
    Namespace: UnityEditor.AdaptivePerformance.Editor
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public sealed class AdaptivePerformanceSupportedBuildTargetAttribute : Attribute, _Attribute

    Constructors

    AdaptivePerformanceSupportedBuildTargetAttribute(BuildTargetGroup)

    Constructor for attribute. We assume that all build targets for this group will be supported.

    Declaration
    public AdaptivePerformanceSupportedBuildTargetAttribute(BuildTargetGroup buildTargetGroup)
    Parameters
    Type Name Description
    BuildTargetGroup buildTargetGroup

    Build Target Group that will be supported.

    AdaptivePerformanceSupportedBuildTargetAttribute(BuildTargetGroup, BuildTarget[])

    Constructor for attribute

    Declaration
    public AdaptivePerformanceSupportedBuildTargetAttribute(BuildTargetGroup buildTargetGroup, BuildTarget[] buildTargets)
    Parameters
    Type Name Description
    BuildTargetGroup buildTargetGroup

    Build Target Group that will be supported.

    BuildTarget[] buildTargets

    The set of build targets of Build Target Group that will be supported.

    Properties

    buildTargetGroup

    String representation of UnityEditor.Build.BuildTargetGroup.

    Declaration
    public BuildTargetGroup buildTargetGroup { get; set; }
    Property Value
    Type Description
    BuildTargetGroup

    buildTargets

    Array of BuildTargets, each of which is the representation of UnityEditor.Build.BuildTarget aligned with buildTargetGroup.

    Currently only advisory.

    Declaration
    public BuildTarget[] buildTargets { get; set; }
    Property Value
    Type Description
    BuildTarget[]
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, July 21, 2022
    Terms of use