Class AdaptivePerformanceSupportedBuildTargetAttribute
Build attribute to identify which platforms a loader supports.
Implements
Inherited Members
Namespace: UnityEditor .AdaptivePerformance .Editor
Assembly: Unity.AdaptivePerformance.Editor.dll
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 |
---|---|---|
Build |
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 |
---|---|---|
Build |
buildTargetGroup | Build Target Group that will be supported. |
Build |
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 |
---|---|
Build |
buildTargets
Array of BuildTargets, each of which is the representation of UnityEditor.Build.BuildTarget
aligned with build
Declaration
public BuildTarget[] buildTargets { get; set; }
Property Value
Type | Description |
---|---|
Build |