/// <summary> /// Refreshes the display with up-to-date data /// </summary> public void updateInventoryInformation() { SceneItem[] inventory = viewModel.getPlayerInventory(); string output = ""; foreach (SceneItem item in inventory) { output = string.Format("{0}{1}\n", output, item.fullName); } getInventoryDescription().text = output; }