In this case it will only work if the variable is of the exact type required by the Task (in this case GraphOwner) instead of a GameObject type variable, so that it becomes possible for you to drag and drop the Component reference as it would be when not using a variable.
So the first step to be able to create variables of type “GraphOwner”, would be to open up the Preferred Types editor, search for type GraphOwner at the top and then add it to the list.
Having done the above, you will be able to create variables of type GraphOwner in the Blackboard and now you will also be able to directly drag and drop the FSMOwner Component into that variable and use that variable in the Action Task object reference field instead of a gameobject variable.
Please let me know if you need more help with that or more clarification.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.