Пример #1
0
 public void Initialize(QuickSlotPanel parentPanel)
 {
     SlotPanel   = parentPanel;
     currentMode = QuickSlotMode.UseItem;
     myButton    = GetComponent <Button>();
     Refresh();
 }
Пример #2
0
 public void ChangeModeToUseItem()
 {
     currentMode    = QuickSlotMode.UseItem;
     waitAttachItem = null;
 }
Пример #3
0
 public void ChangeModeToAttach(InventoryItem attachItem)
 {
     currentMode    = QuickSlotMode.AttachItem;
     waitAttachItem = attachItem;
 }