How to get all subclasses of a specify class?

Hi guys,

Is there any approach to get all subclasses of a specify class? like Get All Actors From Class.

Cheers
Omega

i am using a stupid but worked way to do this now, if there is a way to get all the subclasses type, here can replaced by just a foreach loop.

If Get All Actors of your Parent Class returns even subclasses then maybe you can iterate through all of those actors and store their classes if they are not equal to the Parent Class. This would only return currently used subclasses though :/…if it even worked…

sorry this isn’t very helpful…

Hi RimmyD,

Thank you for your response, you get the point, GetAllActorsFromClass just get actor instance in the world, if i do not spawn any instance to world ,it will return nothing.

Cheers~

Oh, man, you are such a warm person! 0 question, 114 answer~~

^ ^

Lol.

I didn’t post as an answer because i really don’t have a good way to do this. I see you posted your own answer but if you want i can try to help you figure out a work around if you want to describe what you goal is.