I have a button named PauseResume with tag pResume. When I try to find the button from script with
GameObject obj = GameObject.FindGameObjectWithTag("pResume");
or
GameObject obj = GameObject.Find("PauseResume");
I get null for obj.
I have a button named PauseResume with tag pResume. When I try to find the button from script with
GameObject obj = GameObject.FindGameObjectWithTag("pResume");
or
GameObject obj = GameObject.Find("PauseResume");
I get null for obj.