AdaptivePerformanceSupportedBuildTargetAttribute
Build attribute to identify which platforms a loader supports.
Read time 3 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: UnityEditor.AdaptivePerformance.Editor
- Assembly: UnityEditor.AdaptivePerformanceModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]public sealed class AdaptivePerformanceSupportedBuildTargetAttribute : Attribute
Constructors
Constructor | Description |
|---|---|
| AdaptivePerformanceSupportedBuildTargetAttribute(UnityEditor.BuildTargetGroup) | Constructor for attribute. We assume that all build targets for this group will be supported. |
| AdaptivePerformanceSupportedBuildTargetAttribute(UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget[]) | Constructor for attribute |
Properties
Property | Description |
|---|---|
| buildTargetGroup | String representation of UnityEditor.Build.BuildTargetGroup. |
| buildTargets | Array of BuildTargets, each of which is the representation of UnityEditor.Build.BuildTarget aligned with _buildTargetGroup. |