fix: menu interactability

This commit is contained in:
Gerard Gascón 2025-02-02 23:54:54 +01:00
parent 6fbc7c3259
commit c5e4609101
12 changed files with 32113 additions and 22 deletions

View file

@ -17,6 +17,7 @@ public class Interface : MonoBehaviour {
private void Start() {
gameOver.alpha = 0;
gameOver.interactable = false;
}
public void PlacePiece() {
@ -32,7 +33,7 @@ public class Interface : MonoBehaviour {
return;
_dead = true;
gameOver.DOFade(1f, 1f);
gameOver.DOFade(1f, 1f).OnComplete(() => gameOver.interactable = true);
}
public void Retry() {