tjdwlgns612
Member
Hey all,
I am trying to make a code in Unity for a "daily counter".
So I have a variable that steadily increases over time.
I simply want daily values out of this - as in, how much has it gone up by in a whole day?
So if on Monday 0:00 it was 1200, and tuesday 0:00 it was 2000, the daily value for that day would be 800.
I've tried using the MOVE and RESET and SUB but keep getting myself stuck in a loop.
Any ideas?
I am trying to make a code in Unity for a "daily counter".
So I have a variable that steadily increases over time.
I simply want daily values out of this - as in, how much has it gone up by in a whole day?
So if on Monday 0:00 it was 1200, and tuesday 0:00 it was 2000, the daily value for that day would be 800.
I've tried using the MOVE and RESET and SUB but keep getting myself stuck in a loop.
Any ideas?