Comments

Log in with itch.io to leave a comment.

(5 edits) (+1)

Use this C# code than you can speed it up with the Key: shift

using UnityEngine;
public class TimeControl : MonoBehaviour
{	private bool shiftBool=false;
private void Update()
    {   // Check if the Shift key is pressed down
if (Input.GetKeyDown(KeyCode.LeftShift))
        {// Set fixedDeltaTime to 4.0 when Shift is pressed
if(!shiftBool){ shiftBool=true; Time.fixedDeltaTime = 4.0f; }
        }
if (Input.GetKeyUp(KeyCode.LeftShift)) // released, no shift
        {// Reset fixedDeltaTime to 1.0 when Shift is released
if(shiftBool){ shiftBool=false; Time.fixedDeltaTime = 1.0f; }
}   }   }