Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

No More OnMouse Events?

Discussion in 'Input System' started by Deleted User, Oct 25, 2019.

  1. Deleted User

    Deleted User


    I noticed using the new input system the OnMouse events in mono behavior are not working.

    Is this gonna be support in some way? Seems overkill to setup Raycasts for what I want. Where as OnMouse Events it was simple.
  2. Rene-Damm


    Sep 15, 2012
    There's still things the old system can do that the new system can't. MonoBehaviour mouse events is one such thing we haven't looked at yet. It'll happen as part of moving towards deprecation of the old system.

    Unsure at this point where this will fall exactly. One thing I could imagine is we simply implement this entirely in C# as a component you can add to your scene and which then will add support for those legacy-style mouse events to the scene. Something like that.
    SomeGuy22 likes this.