Hello. I’m new to Unreal, and I’m trying to create a countdown timer following this YouTube Tutorial, specifically the part starting at 7:20. I have a game mode class with a seconds variable that I will use for my countdown timer. Here you can see that I have an int variable named Seconds in the game mode class:
Here you can see that I made a reference to this game mode class and set it as a new variable just like it says to do in the video tutorial:
And then I get to this point where I am trying to use the Seconds variable but I cannot find it when I come off of the BP Game Mode Ref get node. I can find functions that belong to the reference class but no variables. Here is a Function I can access:
But here’s me trying to find the Seconds variable, which is under the reference category (entering it in the search bar brings up nothing):
As you can see, there is no reference section listed under the Variables category.
What’s going on here that I can fix? I’m guessing its something so obvious that I’m the only one who would even need to bother to ask, but I’m very new and so here I am.