コード例 #1
0
 public static void StartShop(string text, string speakerName, int[] whatToSell)
 {
     foreach (int itemType in whatToSell)
     {
         shopArray.Add(itemType);
     }
     foreach (Item item in GameData.playerInventory)
     {
         sellArray.Add(item.type);
     }
     shopMenu.nameLabel.Text = speakerName;
     shopMenu.Say(text);
     shopMenu.shopDialog.Visible = true;
 }