Hello,
Unfortunately right now and by design, Tasks know nothing about the parent node in which they are assigned to, but they do know about the parent system they belong to, meaning for example, the FSM itself, which can be fetched like this var fsm = (FSM)ownerSystem;.
With that said, I am already looking at refactoring the code, so that Tasks also have a reference to the parent node as well.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.