예제 #1
0
 public void ClearAll()
 {
     inventoryController.PrepareForLoad();
     slotPanels = Resources.FindObjectsOfTypeAll(typeof(SlotPanel)) as SlotPanel[];
     foreach (SlotPanel panel in slotPanels)
     {
         panel.EmptyAllSlots();
     }
     craftingInventory.ClearInventory();
     consumableInventory.ClearInventory();
     questController.ClearQuests();
     battleLauncher.ResetSteps();
 }