I don't understand what "class" means in Unreal C++
class USpringComponent* BoomArt;
class UCameraComponent* Camera;
As I know the class must have a body, but there is no such thing. Why write a class? What is the general logic of this key word?
I'm used to seeing this:
class MyClass
{
// body...
}
Why write the class keyword ahead in Unreal C++? Yet again:
**class** USpringComponent* BoomArt;