diff --git a/Assets/Scripts/TimeScaleController.cs b/Assets/Scripts/TimeScaleController.cs index 1e4272b6..95a26458 100644 --- a/Assets/Scripts/TimeScaleController.cs +++ b/Assets/Scripts/TimeScaleController.cs @@ -13,6 +13,22 @@ public class TimeScaleController : MonoBehaviour private void Update() { Time.timeScale = animSpeed; + if (Input.GetKeyUp(KeyCode.F8)) + { + animSpeed++; + } + if (Input.GetKeyUp(KeyCode.F7)) + { + animSpeed--; + } + if (Input.GetKeyUp(KeyCode.F12)) + { + animSpeed = 1; + } + if (Input.GetKeyUp(KeyCode.F11)) + { + animSpeed = 0; + } } #endif }