Reply To: Callbacks for UI Toolkit

FlowCanvas Forums Support Callbacks for UI Toolkit Reply To: Callbacks for UI Toolkit


Hello again. I just re-tried and it seems to be working. This is what I did:

  • Open Preferred Types Editor and add the ‘Visual Element’ type as well as the ‘MouseDownEvent’ type in the list.
  • Made the changes to ReflectedMethodNodeWrapper.cs I mentioned above.
  • Add node “Register Callback (T) from the node browser.
  • Right click the node and in the menu select ‘Change Generic Type’ to “MouseDownEvent”.


Please let me know, or if you can please share a screenshot of your graph to see how you are connecting things up.


Join us on Discord:

  1. RegisterCallbackChangeGenericType.png