Danro/Assets/Scripts/Settings/_sega/SettingOption.cs
Danil Iarosh 98d5285b46 feat(logging): add advanced logging example with file output
- Created AdvancedLoggingExample class demonstrating composite and file loggers
- Implemented multi-file logging setup with separate error and full logs
- Added game event and performance logging methods
- Included key input handling for log operations (flush, clear)
- Setup proper resource disposal on application quit
2025-11-07 14:12:50 +03:00

21 lines
519 B
C#

using System.Collections.Generic;
[System.Serializable]
public class SettingOption
{
public string settingName;
public List<string> options;
public int chosenIndex;
public int defaultIndex;
public SettingOption(string settingName, List<string> options, int defaultIndex)
{
this.settingName = settingName;
this.options = options;
this.defaultIndex = defaultIndex;
this.chosenIndex = defaultIndex;
}
public string ChosenOption => options[chosenIndex];
}