Are there any alternatives like level blueprints in c++
Basically I don’t want it to interact with the world. I want a central class that can be accessed by other classes which can store some important variables and functions that can be accessed by every other class.(I don’t know if thats how level blueprints work though)
For this I generally create the class through the gamemode class and stick a pointer to the class through gamemode. To access that class, I first use the pointer to the game mode and then access that class. But I think there are better ways to do what I am looking for.