File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,12 +6,10 @@ namespace IMYSHook;
66public class PluginBehavior : MonoBehaviour
77{
88 private static readonly float WaitTime = 1.0f ;
9- private static readonly float CtrlWaitTime = 0.1f ;
109 public static bool IsGameSpeedChanged { get ; set ; }
1110 public static float CurrentGameSpeed { get ; set ; }
1211 private static float LastGSExecuteTime { get ; set ; }
1312 private static float LastFPSExecuteTime { get ; set ; }
14- private static float LastSkipExecuteTime { get ; set ; }
1513
1614 private void Update ( )
1715 {
@@ -90,13 +88,6 @@ private void Update()
9088 Notification . SsPopup ( location ) ;
9189 }
9290
93- LastSkipExecuteTime += Time . deltaTime ;
94- if ( LastSkipExecuteTime >= CtrlWaitTime && Input . GetKey ( KeyCode . LeftControl ) || LastSkipExecuteTime >= CtrlWaitTime && Input . GetKey ( KeyCode . RightControl ) )
95- {
96- LastSkipExecuteTime = 0.0f ;
97-
98- }
99-
10091 LastGSExecuteTime += Time . deltaTime ;
10192 if ( IsGameSpeedChanged && LastGSExecuteTime >= WaitTime && Time . timeScale != CurrentGameSpeed )
10293 {
You can’t perform that action at this time.
0 commit comments