Class AttentionCheckSettingsProvider
Provides the UI for configuring AttentionCheckSettings in the Project Settings window. Supports build-target-specific configuration for Standalone and WebGL.
public sealed class AttentionCheckSettingsProvider : ScriptableObjectSettingsProvider<AttentionCheckSettings, AttentionCheckSettingsBuildTargetCollection>
Inheritance
object→SettingsProvider→ScriptableObjectSettingsProvider<AttentionCheckSettings, AttentionCheckSettingsBuildTargetCollection>→AttentionCheckSettingsProviderInherited Members
Constructors
AttentionCheckSettingsProvider(AttentionCheckSettingsBuildTargetCollection, SettingsScope, string, IEnumerable<string>)
Initializes a new instance of the AttentionCheckSettingsProvider class.
public AttentionCheckSettingsProvider(AttentionCheckSettingsBuildTargetCollection settings, SettingsScope scope, string displayPath, IEnumerable<string> keywords = null)
Parameters
| Name | Type | Description |
|---|---|---|
settings | AttentionCheckSettingsBuildTargetCollection | The settings collection instance to display. |
scope | SettingsScope | The scope of the settings (User or Project). |
displayPath | string | The display path for the settings in the Unity Settings window. |
keywords | IEnumerable<string> | Optional search keywords for filtering. |
Methods
OnSelectedBuildTargetSettingsGUI(SerializedObject, BuildTargetGroup)
Draws the GUI for attention check settings in the selected build target context.
protected override void OnSelectedBuildTargetSettingsGUI(SerializedObject serializedSettings, BuildTargetGroup selectedBuildTarget)
Parameters
| Name | Type | Description |
|---|---|---|
serializedSettings | SerializedObject | The serialized object representing the target settings. |
selectedBuildTarget | BuildTargetGroup | The currently selected build target group. |