Class 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.
Namespace: UnityEngine.AdaptivePerformance
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class AdaptivePerformanceConfigurationDataAttribute : Attribute, _Attribute
Constructors
AdaptivePerformanceConfigurationDataAttribute(String, String)
Constructor for attribute
Declaration
public AdaptivePerformanceConfigurationDataAttribute(string displayName, string buildSettingsKey)
Parameters
Type | Name | Description |
---|---|---|
String | displayName | The display name to use in the Project Settings window. |
String | buildSettingsKey | The key to use to get or set build settings with. |
Properties
buildSettingsKey
The key that will be used to store the singleton instance of these settings within EditorBuildSettings. For more information, see the EditorBuildSettings scripting API documentation.
Declaration
public string buildSettingsKey { get; set; }
Property Value
Type | Description |
---|---|
String |
displayName
The display name that the user sees in the Project Settings window.
Declaration
public string displayName { get; set; }
Property Value
Type | Description |
---|---|
String |