void setUnActive(FireworkUpgradeTile tile) { tile.lockedIcon.SetActive(true); tile.imageIcon.color = new Color(1, 1, 1, 0.63f); tile.unlocked = false; tile.upgraded = false; }
void setActive(FireworkUpgradeTile tile) { tile.imageIcon.color = new Color(1, 1, 1, 1); tile.unlocked = true; tile.upgraded = true; tile.lockedIcon.SetActive(false); }