Implemented unselecting dice selection

This commit is contained in:
Max 2025-01-21 15:55:10 +01:00
parent 1b55b43f34
commit 31917ba415
5 changed files with 78 additions and 14 deletions

View file

@ -37,9 +37,10 @@ public class Die : MonoBehaviour
public void ResetDie()
{
gameObject.GetComponent<Image>().color = originalColor;
gameObject.GetComponent<Outline>().enabled = false;
}
public void DieBeingUsed(bool isFirstPair, bool isPairComplete)
public void DieBeingUsed(bool isPairComplete)
{
if (isPairComplete)
{