private void Update() { myLoadout.SetHotbar(myHotbar.GetHotbarArray()); myLoadout.SetInventory(myInventory.GetInventoryArray()); }