Skip to content

Instantly share code, notes, and snippets.

@paddyzab
Created February 10, 2013 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paddyzab/4748989 to your computer and use it in GitHub Desktop.
Save paddyzab/4748989 to your computer and use it in GitHub Desktop.
Simple SlowMode I use in mr Cube.
//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