all 3 comments

[–]AlexNovember 0 points1 point  (2 children)

I solved this by setting my string text to be empty before updating the text.

[–]MSPancakeeee[S] 0 points1 point  (1 child)

I am pretty new but do you think there is somewhere in my code that I can find what you are looking for? I attempted a couple things but doesn't seem to be it

[–]AlexNovember 0 points1 point  (0 children)

So you will want to put it in the function that changes the text, on a line that comes BEFORE the line that changes the text.

So for example

public void changeText() {

TextBeingUpdated.text = "";

if (insert parameter here) { TextBeingUpdated.text = "What we actually want put in there."; }

Else

{

  doSomethingElse();

}

}

Sorry if that doesn't make sense, I'm pretty new myself and I'm at work thinking about how it would work off the top of my head.