public void Initialize() { panelManager = MainHUD.GetPanelManager(); inventoryPanel = (InventoryPanel)panelManager.GetPanelByType(BasePanel.PanelType.Inventory); //Debug.Log(panelManager + " is manager"); //Debug.Log(inventoryPanel + " is inventory"); SetupStartingItems(); }
private void Start() { player = GetComponent <Player>(); panelManager = MainHUD.GetPanelManager(); }