Hello! This is the second time I am asking this, but the first time I got no responses.
How can I get the behavior of an actor (not attributes or functions, but the behavior itself)?
For example, if I have a block for collision event with an actor which has a custom behavior called EnemyBehavior, I want to get that EnemyBehavior behavior as an object. The equivalent in unity would be GetComponent<EnemyBehavior>(), which returns the EnemyBehavior behavior of that actor.
The reason I want to do this is to more easily access functions and properties from other behaviors.
Is it possible?
Thank you for your time!