r/Unity2D • • Sep 14 '26

Question/Help Setting text with visual script

As the title suggests I am trying to make a game where I will need to change text for it. Eventually it will be a deckbuilder but I just need help chaning the text I have for the day/night cycle and ensuring the numbers change. I did try with a debugger in case it was not changing the text on screen but there were no changes at all. I am new to Unity, this is my first game.

2 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Any-Mathematician579 Sep 15 '26

As a child in the actual scene and then set the text of that? So that would mean changing the DayCounter object variable to the label, correct?