Blackboard cannot recognize interfaces

Forums 💬 NodeCanvas ⚙️ Support Blackboard cannot recognize interfaces

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17282
    atmuc
    Participant

      I can add an interface as a new type. I can create a variable with this new type. When I try to add value to this variable on the blackboard, it does not accept a gameobject that has a component with this interface. this is so important for me.

      #17284
      Gavalakis
      Keymaster

        Hello again,

        This is a known issue when dragging and dropping the gameobject to assign the reference (it’s actually a limitation in the Unity ObjectField as far as I know).

        To work around this when you want to assign a component implementing an interface to the interface variable, please drag and drop the component itself directly like this and it should work fine 🙂
        [attachment file=”AssignInterface.gif”]

        Thanks!

        #17283
        atmuc
        Participant

          thanks. i will try it 🙂

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