Class McqSettings
Centralized settings for the MCQ UI system. Singleton ScriptableObject that can be accessed globally.
public class McqSettings : ScriptableObject
- Inheritance
-
McqSettings
Properties
AllowMultipleSelections
public bool AllowMultipleSelections { get; }
Property Value
AutoRevealCorrectAnswer
public bool AutoRevealCorrectAnswer { get; }
Property Value
AutoRevealDelay
public float AutoRevealDelay { get; }
Property Value
AutoStartOnEnable
public bool AutoStartOnEnable { get; }
Property Value
CorrectColor
public Color CorrectColor { get; }
Property Value
- Color
DefaultTimeLimit
public float DefaultTimeLimit { get; }
Property Value
FillDuration
public float FillDuration { get; }
Property Value
Instance
Singleton instance of MCQ Settings. Creates default settings if none exists. Safe to call during serialization - will return null if not available.
public static McqSettings Instance { get; }
Property Value
NormalColor
public Color NormalColor { get; }
Property Value
- Color
QuestionTypewriterSpeed
public float QuestionTypewriterSpeed { get; }
Property Value
RandomizeOrder
public bool RandomizeOrder { get; }
Property Value
RevealDelay
public float RevealDelay { get; }
Property Value
SafeInstance
Get settings instance safely, with fallback to default values if not available during serialization
public static McqSettings SafeInstance { get; }
Property Value
SelectedColor
public Color SelectedColor { get; }
Property Value
- Color
ShuffleOptions
public bool ShuffleOptions { get; }
Property Value
TypewriterSpeed
public float TypewriterSpeed { get; }
Property Value
UseTypewriterEffect
public bool UseTypewriterEffect { get; }
Property Value
UseTypewriterForQuestion
public bool UseTypewriterForQuestion { get; }
Property Value
WrongColor
public Color WrongColor { get; }
Property Value
- Color
Methods
ResetToDefaults()
Reset all settings to default values
public void ResetToDefaults()