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();
|
toggleSlowMode();
|
||||||
Debug.Log("Time scale: "+Time.timeScale);
|
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);
|
// Debug.Log("Service timer : "+(int)serviceTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ InputManager:
|
||||||
descriptiveName:
|
descriptiveName:
|
||||||
descriptiveNegativeName:
|
descriptiveNegativeName:
|
||||||
negativeButton:
|
negativeButton:
|
||||||
positiveButton: left shift
|
positiveButton: e
|
||||||
altNegativeButton:
|
altNegativeButton:
|
||||||
altPositiveButton: mouse 2
|
altPositiveButton: mouse 2
|
||||||
gravity: 1000
|
gravity: 1000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue