public void Initialize(QuickSlotPanel parentPanel) { SlotPanel = parentPanel; currentMode = QuickSlotMode.UseItem; myButton = GetComponent <Button>(); Refresh(); }
public void ChangeModeToUseItem() { currentMode = QuickSlotMode.UseItem; waitAttachItem = null; }
public void ChangeModeToAttach(InventoryItem attachItem) { currentMode = QuickSlotMode.AttachItem; waitAttachItem = attachItem; }