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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more..
    Dismiss Notice
  3. Dismiss Notice

Mouse event on scene view?

Discussion in 'Scripting' started by Zoulz, Aug 24, 2019.

  1. Zoulz

    Zoulz

    Joined:
    Mar 14, 2014
    Posts:
    13
    Hey there, i'm attempting to draw some handles as the mouse cursor passes over the editor scene view. I'm listening to duringSceneGui on SceneView which partly gets me there. But it seems to fire only when you change the SceneView (hold right and drag to look around for example). Is there some kind of mouseover event I could subscribe to?
     
  2. Zoulz

    Zoulz

    Joined:
    Mar 14, 2014
    Posts:
    13
    Never mind, it seems the event fires when moving the cursor. Something is wrong when i'm drawing the handles.