39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
|
|
using System;
|
||
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Ichni
|
||
|
|
{
|
||
|
|
public class GameSettings
|
||
|
|
{
|
||
|
|
public int mainVolume = 100;
|
||
|
|
public int backgroundMusicVolume = 100;
|
||
|
|
public int soundEffectVolume = 100;
|
||
|
|
public int uiVolume = 100;
|
||
|
|
|
||
|
|
public int judgeOffset = 0;
|
||
|
|
public int targetFrame = 60;
|
||
|
|
|
||
|
|
public bool lowResolution = false;
|
||
|
|
public bool debugMode = false;
|
||
|
|
|
||
|
|
public GameSettings()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public GameSettings(int mainVolume, int backgroundMusicVolume, int soundEffectVolume, int uiVolume,
|
||
|
|
int judgeOffset, int targetFrame, bool lowResolution, bool debugMode)
|
||
|
|
{
|
||
|
|
this.mainVolume = mainVolume;
|
||
|
|
this.backgroundMusicVolume = backgroundMusicVolume;
|
||
|
|
this.soundEffectVolume = soundEffectVolume;
|
||
|
|
this.uiVolume = uiVolume;
|
||
|
|
this.judgeOffset = judgeOffset;
|
||
|
|
this.targetFrame = targetFrame;
|
||
|
|
this.lowResolution = lowResolution;
|
||
|
|
this.debugMode = debugMode;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|