자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void OnCarrotPicked() { if (isGameOver) { return; } currentPickedCarrots = currentPickedCarrots + 1; if (currentPickedCarrots >= carrotsToWin) { isGameOver = true; gameUI.ActivateWinScreen(); Invoke("GoToNextLevel", timeToRestart); } }