Beispiel #1
0
 public void OpenGiftWindow()
 {
     InventoryWindow.OpenSelectionWindow <BackpackWindow>(ItemSelectionType.SelectNum, OnSendGift, "挑选一件礼物", "确定要送出这个礼物吗?", 1, 1, cancel: () => WindowsManager.HideWindow(this, false));
     WindowsManager.HideWindow(this, true);
 }
 private void SetMaterials()
 {
     ZetanUtility.SetActive(morePanel, false);
     InventoryWindow.OpenSelectionWindow <BackpackWindow>(ItemSelectionType.SelectNum, OnPutMaterials, "预留材料", selectCondition: (slot) => { return(slot && slot.Item && slot.Item.Model_old.MaterialType != MaterialType.None); });
 }