Pass the reference to the component in the editor

It turns out that you can only point to the actor in the scene, but not to its component. Then the component of the actor can be obtained in the code through FindComponentByClass.