C++ Instanced members in inherited Components
Hello everyone. I have a question about "Instanced" mambers of classes. I've created my own class, let's say, ActionComponent, then I wanted to add a member ActionBase class pointer( class ActionBase * m_actions ) and mark it as "Instanced" in UPROPERTY, so I wanted to put real objects to that field in the editor. Then I added my ActionComponent as a member to other class. The problem is that in this case I can't set a value for m_actions in the editor. I thought that maybe it's due to inheritance, but then I look at CharacterClass(which is generated by default) which have an UCameraComponent which contains AssetUserData memeber and it's looks exactly like my m_actions, but it worked well inside editor. Ok, I thought maybe assets is a some kind of special objets. BUT! The thing is that since my ActionComponent is inherited from U ActorComponent it contains AssetUserData field too, but I can't edit him inside editor. Can anybody explain me how it works?
Follow this question
Once you sign in you will be able to subscribe for any updates here