How can I call functions of a Child Actor Component?
I have tow actor blueprint classes Cube and Shape with some functions.When i added Cube into Shape,Cube changed to a child actor component of Shape.Now,how can I call functions of Cube in Shape's blueprint?
asked Mar 20 '17 at 12:21 PM in Blueprint Scripting
You have to get the child actor, and cast to it to its class, like this:
You could also cast it on begin play or somewhere, and promote it to a variable, then you won't have to cast it every time you want to access it.
answered Mar 20 '17 at 12:52 PM
Here is the answer:
answered Feb 26 '19 at 02:20 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here