I have to create object like this:
UStaticMeshComponent* staticMesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("CustomStaticMesh"));
But I don't get how this works. Why do I add that angle bracket? I understand it has to do with templates but can't find the syntax for using template this way,
and is CreateDefaultSubobject a static function so I can call it without instantiating?