示例#1
0
 void setUnActive(CannonUpgradeTile tile)
 {
     tile.lockedIcon.SetActive(true);
     tile.imageIcon.color = new Color(1, 1, 1, 0.63f);
     tile.unlocked        = false;
     tile.upgraded        = false;
 }
示例#2
0
 void setActive(CannonUpgradeTile tile)
 {
     tile.imageIcon.color = new Color(1, 1, 1, 1);
     tile.unlocked        = true;
     tile.upgraded        = true;
     tile.lockedIcon.SetActive(false);
 }