设置扩展
This commit is contained in:
@@ -100,7 +100,7 @@ namespace Ichni.RhythmGame
|
||||
|
||||
private void OnTap(int id, Vector2 position)
|
||||
{
|
||||
if (SettingsManager.instance.gameSettings.debugMode)
|
||||
if (SettingsManager.instance.settingsSaveData.debugMode)
|
||||
{
|
||||
GenerateTapMark(id, position);
|
||||
}
|
||||
@@ -110,7 +110,7 @@ namespace Ichni.RhythmGame
|
||||
|
||||
private void OnTouch(int id, Vector2 position)
|
||||
{
|
||||
if (SettingsManager.instance.gameSettings.debugMode)
|
||||
if (SettingsManager.instance.settingsSaveData.debugMode)
|
||||
{
|
||||
GenerateTouchMark(id, position);
|
||||
}
|
||||
@@ -120,7 +120,7 @@ namespace Ichni.RhythmGame
|
||||
|
||||
private void OnSwipe(int id, Vector2 position, bool isGeneric, bool isFirst, Vector2 direction)
|
||||
{
|
||||
if (SettingsManager.instance.gameSettings.debugMode)
|
||||
if (SettingsManager.instance.settingsSaveData.debugMode)
|
||||
{
|
||||
GenerateSwipeMark(id, position, isGeneric, isFirst, direction);
|
||||
|
||||
@@ -378,7 +378,7 @@ namespace Ichni.RhythmGame
|
||||
if (_activeTouches.ContainsKey(touchId))
|
||||
{
|
||||
_activeTouches.Remove(touchId);
|
||||
if (SettingsManager.instance.gameSettings.debugMode)
|
||||
if (SettingsManager.instance.settingsSaveData.debugMode)
|
||||
{
|
||||
GenerateEndMark(position);
|
||||
}
|
||||
@@ -390,7 +390,7 @@ namespace Ichni.RhythmGame
|
||||
if (_activeTouches.ContainsKey(touchId))
|
||||
{
|
||||
_activeTouches.Remove(touchId);
|
||||
if (SettingsManager.instance.gameSettings.debugMode)
|
||||
if (SettingsManager.instance.settingsSaveData.debugMode)
|
||||
{
|
||||
GenerateCanceledMark(position);
|
||||
}
|
||||
@@ -540,4 +540,4 @@ namespace Ichni.RhythmGame
|
||||
ss.Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user