Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Timer_num += Time.deltaTime;
- Hour = Mathf.FloorToInt(Timer_num / 60f / 24f);
- Minute = Mathf.FloorToInt(Timer_num / 60f - hour * 60);
- Second = Mathf.FloorToInt(Timer_num - (minute * 60));
- Microsecond = Mathf.FloorToInt(Timer_num * 100 - ((minute * 6000) + (second * 100)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement