Search Unity

Feedback Small Feature Request

Discussion in 'Editor & General Support' started by UserNobody, Oct 18, 2019.

  1. UserNobody

    UserNobody

    Joined:
    Oct 3, 2019
    Posts:
    144
    Hello everyone! :)

    I have a small, yet time saver feature request: Implementation of double mouse click detection using Input class, or get a click count.

    I know there is a PointerEventData, but it will only work as far as I know if you press on the UI element and it's not an option for me in a lot of instances.

    I have created some sort of workaround, for getting a double mouse click by checking delays in each click, but it would be soo much more convenient to just do for example: Input.GetMouseButtonDown(/*Button*/ 0, /*Count*/ 2); or Input.GetMouseButtonDoubleClick(0); ¯\_(ツ)_/¯
     
    Joe-Censored likes this.