void Update() { time += Time.deltaTime; if (time > maxTime) { playerCore.GameSteps(); DrawResurse(); time = 0; } }