How To Check Class Is From Native Or Blueprint
Published on 12 Dec 2021
It’s just simple. Just check with this code.
GetClass()->IsNative()
You can test like this.
FString Result = GetClass()->IsNative() ? TEXT(" : NATIVE") : TEXT(" : BLUEPRINT");
GEngine->AddOnScreenDebugMessage(-1, 999.f, GetClass()->IsNative() ? FColor::Yellow : FColor::Cyan, GetName() + Result);