I can set one individually but it wont work setting it as a prefab.
I cant drag and drop it
I can set one individually but it wont work setting it as a prefab.
I cant drag and drop it
Your prefab cant connect because it is not active in the scene so TextObject dosen’t actually exist for the prefab.
On your prefab you need to do…
void Start()
{
CountText = GameObject.Find("CountTextObject");
//or
CountText = GameObject.FindWithTag("CountTextObject");
}
You need to reference your Text object in OnEnable, Awake or Start.
Hope this helps.