Esempio n. 1
0
    public void Initialize()
    {
        panelManager   = MainHUD.GetPanelManager();
        inventoryPanel = (InventoryPanel)panelManager.GetPanelByType(BasePanel.PanelType.Inventory);

        //Debug.Log(panelManager + " is manager");
        //Debug.Log(inventoryPanel + " is inventory");

        SetupStartingItems();
    }
Esempio n. 2
0
 private void Start()
 {
     player       = GetComponent <Player>();
     panelManager = MainHUD.GetPanelManager();
 }