Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How can I react to Edge Release Events in GraphView?

Discussion in 'UI Toolkit' started by MaNaRz, Dec 4, 2022.

  1. MaNaRz

    MaNaRz

    Joined:
    Aug 24, 2017
    Posts:
    117
    I wanted to implement the same behaviour as in ShaderGraph where when you release an edge over the Background you get a SearchWindow to create a new node from.
    How can I either check whether i am currently dragging an Edge or subscribe to an Event that allows me to react to an Edge Release? The GraphView API is really nice but still not documented enough for me to find the answer myself.
     
  2. MohamedBS

    MohamedBS

    Joined:
    May 4, 2021
    Posts:
    3
    I'm looking for a way to do the same thing
    please post here if you found a solution
     
  3. MaNaRz

    MaNaRz

    Joined:
    Aug 24, 2017
    Posts:
    117