Blackboard not available in script

Forums 💬 NodeCanvas ⚙️ Support Blackboard not available in script

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18514
    timbecile
    Participant

      Hi,

      I’m trying to follow the instructions on instantiating a Behavior Tree and Blackboard through script, but Blackboard isn’t available as an option for a variable type in the script. I added ‘using NodeCanvas;’ to my script, but I still don’t get blackboard as a variable type.

      The script is telling me that using directive for NodeCanvas is unnecessary.

      #18517
      Gavalakis
      Keymaster

        Hello,

        The ‘Blackboard’ class is within the “NodeCanvas.Framework” namespace.
        So you need to add “using NodeCanvas.Framework” instead of “using NodeCanvas” 🙂

        Thanks.

        #18516
        timbecile
        Participant

          that explains it.

          The example in the docs had it in the NodeCanvas root.

          #18515
          Gavalakis
          Keymaster

            Oh, I just updated the docs. Thanks for pointing this out.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.