Question by
blablaalb · Jan 26, 2018 at 11:51 PM ·
timemobile devicestime.deltatimecountdowndeltatime
Is Time.deltaTime different on various devices?
Hi everyone .Can someone say what is wrong with my code. I have custom timer implemented like this
float timeRemain = 10f;
void Void(){
timeRemain -= Time.deltaTime;
if(timeRemain <= 0){
///...code here.
}
}
On PC it runs like expected but on Android device timeRemain
variable becomes 0 in less then 10 secs. Who can suggest me what happens when i run it on Android device?
Thanks.
Comment
Your answer
Follow this Question
Related Questions
Returning abnormal values with Time.deltaTime and Time.unscaledDeltaTime. 0 Answers
Milliseconds Timer Question 1 Answer
Why is my deltaTime wrapper slightly faster than time.deltaTime? 1 Answer
Having trouble increasing the spawning speed of explosions 0 Answers
Farming game Time management 0 Answers