Save Single Variable

Hello! I am working on a project for a client, and I would like to save a single variable in the game so it persists. I don’t need to save a bunch of variables or a game state, just one number. Can anyone help me with this?

Use the Game Instance class if you want to save the variable across map changes. If you want it to persist beyond closing and reopening the game, use a SaveGame class. There are a lot of YouTube videos concerning both of these and how to use them.