//Jimmy Vegas Unity 5 Tutorial //These are the scripts for your inventory //open panel script var InfoPanel : GameObject; function OpenPanel () { InfoPanel.SetActive(true); } //axe info panel var InfoPanel : GameObject; var TheAxe : GameObject; var ItemEquipped : GameObject; function ItemEquip() { TheAxe.SetActive(true); InfoPanel.SetActive(false); ItemEquipped.SetActive(true); } function ItemCancel() { InfoPanel.SetActive(false); }