
If Text component is placed under the DisplayIdTxt and we need to retrieve it from Item GameObject
“`csharp
Text DisplayIdTxt = newItem.transform.Find(“DisplayIDTxt”).GetComponent
“`

If Text component is placed under the DisplayIdTxt and we need to retrieve it from Item GameObject
“`csharp
Text DisplayIdTxt = newItem.transform.Find(“DisplayIDTxt”).GetComponent
“`