Created
February 10, 2013 09:42
-
-
Save paddyzab/4748989 to your computer and use it in GitHub Desktop.
Simple SlowMode I use in mr Cube.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//unity slow mode | |
public void enableSlowMode() | |
{ | |
Time.timeScale=0.3f; | |
Time.fixedDeltaTime = 0.02f * Time.timeScale; | |
if(audio.isPlaying == false) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment