簡單計時器代碼

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
相關文章
相關標籤/搜索