Skip to main content

Class AttentionCheckSettings

Defines the project-wide configuration for attention check behavior, including the master control toggle, failure handling, and time-based thresholds.

public sealed class AttentionCheckSettings : Settings<AttentionCheckSettings, AttentionCheckSettingsBuildTargetCollection>

Inheritance​

Inherited Members​

Properties​

AttentionCheckAbortLevel​

Gets the scene reference that will be loaded when the player exceeds the allowed number of attention check failures.

public AssetReference AttentionCheckAbortLevel { get; }

Property Value​

AssetReference

IsEnabled​

Gets whether the attention check system is currently enabled. Controlled by the master toggle set in the project settings.

public bool IsEnabled { get; }

Property Value​

bool

Methods​

GetAllowedAttentionCheckAttempt()​

Get the allowed number of attention check failures.

public int GetAllowedAttentionCheckAttempt()

Returns​

int — The maximum number of allowed attention check failures.