using System.Collections; using System.Collections.Generic; using UnityEngine; public class EquipPanelController : MonoBehaviour { [SerializeField] public InventorySlotController glovesSlot; [SerializeField] public InventorySlotController overallSlot; [SerializeField] public InventorySlotController shoesSlot; [SerializeField] public InventorySlotController bowSlot; [SerializeField] public EquipCGPanelController equipCGPanelController; private List slots; // Start is called before the first frame update private void Start() { RefreshAll(); } public void RefreshAll() { equipCGPanelController.Refresh(); glovesSlot.Refresh(-1, ItemType.EQUIP_GLOVES, false); overallSlot.Refresh(-1, ItemType.EQUIP_OVERALL, false); shoesSlot.Refresh(-1, ItemType.EQUIP_SHOES, false); bowSlot.Refresh(-1, ItemType.EQUIP_BOW, false); } }