[Solved] Why aren’t all the variable in .cpp file in the .h file? [closed]
The purpose of this tutorial you pointed out is to create the class AFloatingActor, which can then be instantiated. The RunningTimevariable is part of the interface of the class and since it is defined as public public: float RunningTime; it can be accessed outside the class (look at public/private class members and methods). Opposed to … Read more