Would it make a difference if I set the text of a UI Text only when it changes, vs every update/FixedUpdate?
So I guess the question, is SendMessage/BroadcastMessage actually more efficient than just updating a variable every frame? I don’t have time right now to test it
Yes, creating a new string when it’s needed is more efficient than creating a new string every frame.
SendMessage VS Updating a string every frame? Those are two different things, I mean, you don’t need SendMessage to update a variable. SendMessage isn’t very efficient, so I wouldn’t use it. But updating a string every frame even when not needed isn’t efficient either. Just update the string when needed.