mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
24 lines
638 B
C#
24 lines
638 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Verse;
|
|
|
|
namespace RJWSexperience.Settings
|
|
{
|
|
public class SettingsTabDebug : SettingsTab
|
|
{
|
|
public SettingsTabDebug(Configurations settings) : base(settings, Keyed.TabLabelDebug, new List<ISettingHandle> { settings.DevMode }) { }
|
|
|
|
public override void DoTabContents(Rect inRect)
|
|
{
|
|
Listing_Standard listmain = new Listing_Standard();
|
|
listmain.Begin(inRect);
|
|
listmain.CheckboxLabeled(Keyed.Option_Debug_Label, settings.DevMode, Keyed.Option_Debug_Desc);
|
|
|
|
if (listmain.ButtonText(Keyed.Button_ResetToDefault))
|
|
{
|
|
Reset();
|
|
}
|
|
listmain.End();
|
|
}
|
|
}
|
|
}
|