Class with a dynamic custom component
Hi, wanted to do the following:
i have this component:
ICustomInt | | |ACustomComponent | | |ABCustomComponent | | |___ACCustomComponent
Now, i want to create a custom Actor class:
This class could have any on this ABCustomComponent or ACCustomComponent, is there any way of make this possible? i try with TSubcalssOf but this didn't work, any one have any advice on how to make this possible? of i will have to create a custom class for each.
asked Feb 26 '19 at 04:02 PM in C++ Programming
If I understand the questions correctly, you are asking how to make an interface in Unreal Engine C++. This is possible, and you can find the docs on how to do it here.
The concept works the same as it does in normal C++, you just have to add some meta data to your interface class.
answered Feb 26 '19 at 04:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here