Reply To: Global Blackboard from script?

Forums 💬 FlowCanvas ⚙️ Support Global Blackboard from script? Reply To: Global Blackboard from script?

#22831
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!