How to check if an actor is from a certain class?

In code it looks like this:
if(Object->GetClass()->IsChildOf(YourClass::StaticClass())) {}

8 Likes