コード例 #1
0
    private void WagonSlotPurchased(WagonSlot slot)
    {
        if (BuyShopSlot(slot))
        {
            if (EventTrinketSell != null)
            {
                EventTrinketSell(slot.Trinket);
            }

            slot.EmptySlot();
        }
    }
コード例 #2
0
    public void WagonSlotPurchased(WagonSlot slot)
    {
        if (BuyShopSlot(slot))
        {
            if (onTrinketSell != null)
            {
                onTrinketSell(slot.Trinket);
            }

            slot.EmptySlot();
        }
    }