Even if you only have a Transform type variable, you can still use it as the “target” of the SendEvent action task. You will notice that the variable selection dropdown when overriding the target agent of the task will list all variables of types derived from Component, as well as of GameObject type. Internally, tasks will get and cache the required component automatically (in this case GraphOwner).
This is of course true for all tasks, both actions and conditions.
Let me know if that works for you, or if I misunderstood something 🙂
Thanks.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.