Skip to content

Instantly share code, notes, and snippets.

@walkies
Created June 5, 2018 05:26
Show Gist options
  • Save walkies/eee7ed931864adfc9950659ee5495dc2 to your computer and use it in GitHub Desktop.
Save walkies/eee7ed931864adfc9950659ee5495dc2 to your computer and use it in GitHub Desktop.
Timer
float timeLeft = 30.0f;
void Update()
{
timeLeft -= Time.deltaTime;
if(timeLeft < 0)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment