[Add] GameLoop base
This commit is contained in:
@@ -42,12 +42,24 @@ namespace YachtDice.UI
|
||||
turnText.text = $"Ход {turn} / {maxTurns}";
|
||||
}
|
||||
|
||||
public void SetRunInfoText(string text)
|
||||
{
|
||||
if (turnText != null)
|
||||
turnText.text = text;
|
||||
}
|
||||
|
||||
public void SetCurrencyText(int amount)
|
||||
{
|
||||
if (currencyText != null)
|
||||
currencyText.text = amount.ToString();
|
||||
}
|
||||
|
||||
public void SetShopButtonInteractable(bool interactable)
|
||||
{
|
||||
if (shopButton != null)
|
||||
shopButton.interactable = interactable;
|
||||
}
|
||||
|
||||
public void ShowGameOver(int finalScore)
|
||||
{
|
||||
gameOverPanel.SetActive(true);
|
||||
|
||||
Reference in New Issue
Block a user