FGameStaticVar<T>
FGameStaticVar<T>
is a class designed to manage static variables that will persist during the whole game.
In editor the value will reset on Play In Editor start/end and on hot reload.
Declaration and Usage
You can declare a game-static variable like this:
To use it within your C# code:
Last updated