Hello guys!
I have a class, that has only RootComponent and some logic. I make other ActorBP’s with this class as parent and add some components to them.
BP’s Structure to see what i got:
Main BP
-RootComponent
-Vars
-Interface
-Logic
Child BP(Main is parent class)
-Parent Stuff
-Other components
-Extra logic
I have this situation here. I need to dynamically spawn Child Blueprints and then get their components. What I need, is to get access to that components, but the problem is, that I can’t do cast, because I have many o these childBP’s, so, what i’m trying to do:
It gives me value of 0 eventhough this class has one component:
I think thats because of my parent. Because If make Actor blueprint and add there something and some components, it will give me correct value.
So, how can I get access to that component??