private void UpdateDisplay() { try { if (textMesh == null) { textMesh = this.GetComponentInChildren <TextMeshProUGUI>(); } } catch (NullReferenceException) { return; } textMesh.text = associatedItemListing.ToString(); }