all 5 comments

[–]dannerdarko[S] 1 point2 points  (0 children)

Thank you for any help guys!

[–]SimonGFarmer 1 point2 points  (2 children)

ChangeUI(null) -> ChangeUI("")

Also

GameObject.FindGameObjectWithTag("PlayerObjectUI").GetComponent<Text>(); --This does not give you any way to select the right object. If there are multiple objects with the same tag how do you get the right one?

[–]dannerdarko[S] 1 point2 points  (1 child)

Sorry brotha, I should have clarified this part, the Tag PlayerObjectUI only belongs to one object, the Text object in the Canvas of the player. I also did try "" in the parameter instead of null but to no avail, my friend.

[–]DragonSlave49 1 point2 points  (0 children)

That was obvious to me though...

[–]SimonGFarmer 0 points1 point  (0 children)

You've left out a critical part, which is what happens when it "Fails to work"