Reputation
977
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
10 25
Impact
~71k people reached

Apr
13
awarded  Notable Question
Mar
19
revised timeScale=0 doesnt stop all prefabs in unity
added 308 characters in body
Mar
19
answered timeScale=0 doesnt stop all prefabs in unity
Feb
26
awarded  Nice Question
Feb
26
awarded  Popular Question
Feb
25
revised Movement appears to be frame rate dependent, despite use of Time.deltaTime
added 42 characters in body
Feb
25
revised Movement appears to be frame rate dependent, despite use of Time.deltaTime
added 2 characters in body
Feb
25
revised Movement appears to be frame rate dependent, despite use of Time.deltaTime
added 33 characters in body
Feb
25
comment Movement appears to be frame rate dependent, despite use of Time.deltaTime
It is being called from LateUpdate. I'll update my question to make that clear. Though I believe Time.deltaTime will still use the correct value regardless of where it's called (if used in FixedUpdate, it'll use fixedDeltaTime).
Feb
25
asked Movement appears to be frame rate dependent, despite use of Time.deltaTime
Jan
15
awarded  Popular Question
Jan
2
awarded  Notable Question
Dec
6
comment How to check for every n value interval, but not exactly n
Accepting this answer since it doesn't rely on maintaining state between frames.
Dec
6
accepted How to check for every n value interval, but not exactly n
Dec
6
comment How to check for every n value interval, but not exactly n
Yep, oneUpsEarned needs to be initialized to 1. Didn't see your comment when I made my comment edit.
Dec
6
comment How to check for every n value interval, but not exactly n
I don't see how this would work. With your code, player earns 205 points, they get an extra life. Player earns 210 points, they would still get an extra life, but I don't want to give them another extra life until they've earned >= 400 points, and then again at >= 600, etc. Edit: Perhaps onesUpEarned should be initialized to 1, not 0, to make this work.
Dec
6
reviewed Approve How to check for every n value interval, but not exactly n
Dec
6
revised How to check for every n value interval, but not exactly n
edited title
Dec
6
asked How to check for every n value interval, but not exactly n
Nov
22
answered What's a simple way to send statistics from my game back to me?