diff --git a/Assets/Scripts/Games/ChargingChicken/ChargingChicken.cs b/Assets/Scripts/Games/ChargingChicken/ChargingChicken.cs index 8439ee350..b69e1236a 100644 --- a/Assets/Scripts/Games/ChargingChicken/ChargingChicken.cs +++ b/Assets/Scripts/Games/ChargingChicken/ChargingChicken.cs @@ -1015,7 +1015,7 @@ namespace HeavenStudio.Games } else { - if (PlayerInput.GetIsAction(InputAction_BasicPressing) || GameManager.instance.autoplay) + if (PlayerInput.GetIsAction(InputAction_BasicPressing) || GameManager.instance.Autoplay) { //sound if (lateness == 0) diff --git a/Assets/Scripts/Games/MannequinFactory/MannequinHead.cs b/Assets/Scripts/Games/MannequinFactory/MannequinHead.cs index 98a9dd98c..b63eda8dd 100644 --- a/Assets/Scripts/Games/MannequinFactory/MannequinHead.cs +++ b/Assets/Scripts/Games/MannequinFactory/MannequinHead.cs @@ -30,7 +30,7 @@ namespace HeavenStudio.Games.Scripts_MannequinFactory BeatAction.New(game, new List { new(startBeat + 1, delegate { headAnim.DoScaledAnimationAsync("Move1", 0.3f); }), - new(startBeat + 3, delegate { if (game.gameManager.autoplay) headAnim.DoScaledAnimationAsync("Move2", 0.3f); }), + new(startBeat + 3, delegate { if (game.gameManager.Autoplay) headAnim.DoScaledAnimationAsync("Move2", 0.3f); }), new(startBeat + 4, delegate { PlayerActionEvent input; if (turnStatus == 1) { diff --git a/Assets/Scripts/Games/Manzai/Manzai.cs b/Assets/Scripts/Games/Manzai/Manzai.cs index ec04fe346..82b5e4536 100644 --- a/Assets/Scripts/Games/Manzai/Manzai.cs +++ b/Assets/Scripts/Games/Manzai/Manzai.cs @@ -612,7 +612,7 @@ namespace HeavenStudio.Games } else { - if (GameManager.instance.autoplay) + if (GameManager.instance.Autoplay) { RavenAnim.DoScaledAnimationAsync("Ready", 0.5f); } diff --git a/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs b/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs index 0603bca38..767786d81 100644 --- a/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs +++ b/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs @@ -103,14 +103,14 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk { new BeatAction.Action(endBeat, delegate { - if (GameManager.instance.autoplay && !stopped) + if (GameManager.instance.Autoplay && !stopped) { game.playYan.Walk(); } }), new BeatAction.Action(endBeat + 0.5, delegate { - if (GameManager.instance.autoplay && !stopped && !isEndEvent) + if (GameManager.instance.Autoplay && !stopped && !isEndEvent) { game.playYan.Walk(); anim.DoScaledAnimationAsync("Note", 0.5f); @@ -119,7 +119,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk }), new BeatAction.Action(endBeat + 1, delegate { - if (GameManager.instance.autoplay && !stopped && !isEndEvent) + if (GameManager.instance.Autoplay && !stopped && !isEndEvent) { rollPlatform.DoScaledAnimationAsync("Note", 0.5f); SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type); @@ -133,7 +133,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk { new BeatAction.Action(endBeat + 0.5, delegate { - if (GameManager.instance.autoplay && !stopped) + if (GameManager.instance.Autoplay && !stopped) { handler.StopAll(); handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6); @@ -218,14 +218,14 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk { new BeatAction.Action(endBeat, delegate { - if (GameManager.instance.autoplay && !stopped) + if (GameManager.instance.Autoplay && !stopped) { game.playYan.Walk(); } }), new BeatAction.Action(endBeat + 0.5, delegate { - if (GameManager.instance.autoplay && !stopped && !isEndEvent) + if (GameManager.instance.Autoplay && !stopped && !isEndEvent) { anim.DoScaledAnimationAsync("Note", 0.5f); SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type); @@ -239,7 +239,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk { new BeatAction.Action(endBeat, delegate { - if (GameManager.instance.autoplay && !stopped) + if (GameManager.instance.Autoplay && !stopped) { handler.StopAll(); handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6);