Reply To: Global Blackboard from script?

FlowCanvas Forums Support Global Blackboard from script? Reply To: Global Blackboard from script?

#491
Gavalakis
Keymaster

Hey,

The null reference is because the blackboard is not assigned a reference. Try this code bellow and please make sure that this script is attached to a gameobject that has a Blackboard component attached as well, since we assign the reference by GetComponent from this gameobject.

Let me know if this works for you.
Cheers!

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