Exemplo n.º 1
0
    private void UpdateDisplay()
    {
        try
        {
            if (textMesh == null)
            {
                textMesh = this.GetComponentInChildren <TextMeshProUGUI>();
            }
        }
        catch (NullReferenceException)
        {
            return;
        }

        textMesh.text = associatedItemListing.ToString();
    }