[C++] How to get UClass from TSubClassOf<>?

yarpoplar
Mon, 12 Dec 2016 12:51:24 +0000
C++

Here is simple question. How to get UClass from TSubClassOf<>?
For example I have

TSubClassOf<ACharacter> TalkActor;

But next code doesn’t works:

TalkActor->GetClass()

It’s returning not the right class, which I selected in editor.

3 posts - 1 participant