简单计时器代码

int second= 0; int minute = 0; int hour = 0; float timer = 0; string timerStr = string.Empty; void SimpleTimer(){ timer += Time.deltaTime; if(timer >= 1f){ second++; timer = 0
相关文章
相关标签/搜索