public void Uninstall(CatItem catItem) { CatSlot slot = catSlots[catItem.isInstalled]; slot.Clear(); catItem.isInstalled = -1; costCoinText.text = cost.ToString(); iTween.PunchScale(costCoin.gameObject, new Vector3(-0.3f, -0.5f, 0), 1); ui.header.ShowCoinsIn(slot.itemViewParent.position, 8, missionList.transform, scale: 0.8f); AddToList(catItem); }
public override void Reset() { catSlot.Clear(); }