Add temporary speed mode
This commit is contained in:
parent
63e88c3a27
commit
08f623a1b1
2 changed files with 6 additions and 1 deletions
|
@ -138,6 +138,11 @@ public sealed class GameSystem : MonoBehaviour
|
|||
toggleSlowMode();
|
||||
Debug.Log("Time scale: "+Time.timeScale);
|
||||
}
|
||||
if (Input.GetButtonDown("Fire3"))
|
||||
{
|
||||
toggleSlowMode(2.0f);
|
||||
Debug.Log("Time scale: "+Time.timeScale);
|
||||
}
|
||||
// Debug.Log("Service timer : "+(int)serviceTimer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue