How can i get a blueprint instance's component in cpp?

iwingn
Tue, 10 Jan 2017 05:05:21 +0000
Blueprint

I create a blueprint and add a spline component in it.Then I place and edit it in edit ,wish it can be used as a route for some kind of creature.
The question is how to get the actor placed in the level,and how to get its component.
I have try GetComponentsByTag and GetComponentsByClass. But it just return null.

3 posts - 1 participant