Reply To: Cannot reference interface

FlowCanvas Forums Support Cannot reference interface Reply To: Cannot reference interface


Hello and thank you! I am glad you like NodeCanvas and FlowCanvas!

There is a small bug with Unity Object Fields GUI and interfaces, where for it to work, you have to drag and drop the MonoBehaviour (that implements the inteface) itself rather than drag and drop the gameobject. (dragging and dropping the gameobject does not work for some reason).

Here is a workflow solution to achieve that:
– Select the “child” gameobject (flowScript) and open its graph editor.
– “Lock” the graph editor (with the lock button on the top right of the graph editor toolbar).
– Now select the “top” gameobject and drag and drop the actor MonoBehaviour itself (not the gameobject) on the blackboard within the graph editor (which is still locked to view the “child” gameobject graph).

Please let me know if this works for you.
I know this is somewhat cumbersome. I will try to find a solution around the Unity Object Field and that limitation with interfaces.
Thank you!

Join us on Discord: