Reply To: Inject my service locator in all nodes

FlowCanvas Forums Support Inject my service locator in all nodes Reply To: Inject my service locator in all nodes

#3795
Gavalakis
Keymaster

Hello there,

As far as I can see, you are adding the variable to the GameObject component blackboard, but from within the node you access the local Graph blackboard which is a different blackboard 🙂
To access the GameObject component blackboard from within a node, you can do so with owner.blackboard. This will return the component blackboard attached to the gameobject where the FlowScriptController is (‘owner’ refers to the FlowScriptController here).

Let me know if that works for you.
Thanks 🙂

Join us on Discord: https://discord.gg/97q2Rjh