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(); }