value = Mathf.Repeat((float)ts.TotalMilliseconds/RefreshTime, 1);
Hi, how to check if the value is repeated from 1.0 back to 0.0? So I can do something like eliminate enemies in the scene every time.
I’ve tried check the value like if value is equal to 0.0, however it skipped and move on to value like 0.102…
Any suggestion? Thank you =))