[Refactor] Fix GameController

This commit is contained in:
2026-03-04 06:48:21 +07:00
parent 244f635062
commit 3031d2e4c2
24 changed files with 708 additions and 303 deletions
+2 -2
View File
@@ -87,10 +87,10 @@ namespace YachtDice.UI
}
}
public void ResetForNewGame()
public void ResetForNewGame(int maxRolls = 3)
{
ResetForNewTurn();
SetRollButtonState(true, 0, 3);
SetRollButtonState(true, 0, maxRolls);
}
private void OnDestroy()