NodeCanvas Forums › General Discussion › Referencing Blackboard outside of NodeCanvas
I am trying to access the Blackboard from a script, but I am having trouble referencing it.
I can’t get the Blackboard to be available in MonoDevelop as a choice-
public Blackboard blackboard; (this doesn’t work)
public Blackboard blackboard;
then later when I try to GetComponent<Blackboard>(); that doesn’t work either.
GetComponent<Blackboard>();
What am I doing wrong here?
Hello,
What do you mean that it doesn’t work? Do you get an error?
Are you possibly NOT using C#?
Join us on Discord: https://discord.gg/97q2Rjh
I am using C#. Blackboard just isn’t available for me as I am typing it out in the declaration. ‘Blackboard’ is red and I mouse over and it says “errorCS0103: the name ‘Blackboard’ does not exist in the current context”
Ah,
It’s in a namespace NodeCanvas
Here are the other namespaces: NodeCanvas.Variables NodeCanvas.BehaviourTree NodeCanvas.FSM NodeCanvas.DialogueTree
Hope that helps
🙂
Haha I was so close to figuring that out on my own! 😛 Thanks for the help 🙂
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email