How can I tell if a downcast is child A or B?

This is probably more of a programming related question but I thought maybe Ue4 has their own method. I have a parent class that I need to cast down. I need to figure out which child the object is from casting down from the parent. Any ideas?

use IsA() or GetClass(), to know what class an object is.

or you may want to move some of the derived class’s interface into the base class, so you don’t have to know what specific type it is. that’s what overloading virtual functions is for: if you never have to cast to the derived type, and only communicate with a base class, your code will be more able to deal with a variety of derived types.