fix: menu interactability
This commit is contained in:
parent
6fbc7c3259
commit
c5e4609101
12 changed files with 32113 additions and 22 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue