How to get list of blueprint child components at compile time in editor?
Working in a custom C++ component, I'm trying to pull a list of child components when PostEditChangeProperty() is called (when a change is made to the component in the editor). However with my current setup, it always returns 0 child components, even when I know this to be false and have manually added child components myself.
Here is the incorrect code I currently have:
If I try to call GetChildrenComponents in the blueprint construction script it works. Is there a different function I need to call in c++ to get it to work in editor?
asked Dec 18 '17 at 03:27 PM in C++ Programming
Here is the function you need. It will fire for each attached component at compile
answered Feb 14 '18 at 01:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here