private void Timer() { if (gameActive) { if (timer > 0) { timer -= Time.deltaTime; levelTimer.adjust(timer); } else { frog.Death(); } } }