예제 #1
0
        protected override void onItemChanged(TezInventoryDataSlot dataSlot)
        {
            var slot_index = dataSlot.index;

            if ((slot_index >= m_BeginPos) && (slot_index < m_BeginPos + m_Slots.capacity))
            {
                var view_slot = m_Slots[slot_index - m_BeginPos];
                view_slot.itemSlot = dataSlot.itemSlot;
                onSlotRefresh?.Invoke(view_slot);
            }
        }
 protected override void onItemChanged(TezInventoryDataSlot dataSlot)
 {
 }
 protected abstract void onItemChanged(TezInventoryDataSlot dataSlot);