Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 public override void Reset()
 {
     catSlot.Clear();
 }