Can you derive a AActor and a UActorComponent from the same class with properties?
I have a few functions and properties that are the same for one of my AActor and a UActorComponent and i'm trying to derive them from the same class but i'm having troubles with it.
I get the following compiler error:
But if i implement it as a interface i wouldn't be able to specifie properties because it gives the following error:
Would this be possible or would i be better of creating a kind of helper / function library with the logic that they share? I would still need to create exact the same properties for both the classes though.
This is my current base class:
This my AActor:
And finaly my AActorComponent
asked Feb 19 '16 at 09:16 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here