diff --git a/Assets/Scripts/Games/SickBeats/SickBeats.cs b/Assets/Scripts/Games/SickBeats/SickBeats.cs index 9b6fde5a0..8bb102862 100644 --- a/Assets/Scripts/Games/SickBeats/SickBeats.cs +++ b/Assets/Scripts/Games/SickBeats/SickBeats.cs @@ -204,6 +204,18 @@ namespace HeavenStudio.Games new("AgbSickBeatsDown", new int[] { IA_DownPress, IA_DownPress, IA_DownPress }, IA_PadDown, IA_TouchFlick, IA_BatonDown); + public PlayerActionEvent ScheduleMissableInput(double startBeat, + double timer, + PlayerInput.InputAction inputAction, + PlayerActionEvent.ActionEventCallbackState OnHit, + PlayerActionEvent.ActionEventCallback OnMiss, + PlayerActionEvent.ActionEventCallback OnBlank, + PlayerActionEvent.ActionEventHittableQuery HittableQuery = null) + { + PlayerActionEvent evt = ScheduleInput(startBeat, timer, inputAction, OnHit, OnMiss, OnBlank, HittableQuery); + return evt; + } + // Start is called before the first frame update void Awake() { diff --git a/Assets/Scripts/Games/SickBeats/Virus.cs b/Assets/Scripts/Games/SickBeats/Virus.cs index e40306874..08f851f09 100644 --- a/Assets/Scripts/Games/SickBeats/Virus.cs +++ b/Assets/Scripts/Games/SickBeats/Virus.cs @@ -45,7 +45,15 @@ namespace HeavenStudio.Games.Scripts_SickBeats VirusAnim("appear"); })}); - game.ScheduleInput(startBeat, 1, InputAction, Just, Miss, Empty, CanJust); + // if (GameManager.instance.autoplay) + // { + // game.ScheduleAutoplayInput(startBeat, 1, InputAction, Just, Miss, Empty); + // } + // else + // { + // game.ScheduleUserInput(startBeat, 1, InputAction, Just, Miss, Empty, CanJust); + // } + game.ScheduleMissableInput(startBeat, 1, InputAction, Just, Miss, Empty, CanJust); } public void Dash()