Change the Text body of an object after a specific event instead of doing it manually from the Inspector Menu of the Text.
Time Based #
Not a time-based block (won’t take time to finish execution).
This block has 3 Inputs:
- Sequential Input.
- GameObject: The object to change the Text of. If connected to a game object it overrides the game object you are writing the code inside. If it is not connected to a game object, by default, it is the object you are writing code inside.
- New Text: The new string that will fill the Text body. Could be modified using the built-in text area or by adding a string variable as an input. If connected to a string variable, it overrides the content of the new text.
Text: The Text object to be changed.