AdaptivePerformanceConfigurationDataAttribute
This attribute is used to tag classes as providing build settings support for an Adaptive Performance provider. The unified setting system will present the settings as an inspectable object in the Project Settings window using the built-in inspector UI. The implementor of the settings is able to create their own custom UI and the Project Settings system will use that UI in place of the build-in one in the Inspector. See the Extending the Editor page in the Unity Manual for more information.
阅读时间4 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEngine.AdaptivePerformance
- Assembly: UnityEngine.AdaptivePerformanceModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class)]public sealed class AdaptivePerformanceConfigurationDataAttribute : Attribute
Constructors
Constructor | Description |
|---|---|
| AdaptivePerformanceConfigurationDataAttribute(System.String,System.String) | Constructor for attribute |
Properties
Property | Description |
|---|---|
| buildSettingsKey | The key used to store the singleton instance of these settings within |
| displayName | The display name that the user sees in the Project Settings window. |