public void Setup() { Debug.Log("The detected id is: " + id); Item item = restController.GetItemWithId(id); Debug.Log("This item is named: " + item.name); if (item != null) { this.name = item.name; this.text.text = item.name; } }
public void Setup() { Debug.Log("The detected id is: " + id); Item item = restController.GetItemWithId(id); Debug.Log("This item is named: " + item.name); if (item != null) { this.name = item.name; this.text.text = item.name; } }