![Finding a nice, clean way to do double click detection for user inputs has been tough for me. Today somebody posted a great way, so I turned it into a simple, re-useable Finding a nice, clean way to do double click detection for user inputs has been tough for me. Today somebody posted a great way, so I turned it into a simple, re-useable](https://external-preview.redd.it/URPKwUIZgThsmCOndYxV7oTt_jgHuwO7xf2lw0_kJSo.png?width=640&crop=smart&auto=webp&s=62c1e43e65facf45c5f8934f1d372a116df7e909)
Finding a nice, clean way to do double click detection for user inputs has been tough for me. Today somebody posted a great way, so I turned it into a simple, re-useable
Button.OnButtonClicked is triggered twice on clicks · Issue #1879 · microsoft/MixedRealityToolkit-Unity · GitHub
InputManager causing UI events to fire twice · Issue #683 · microsoft/MixedRealityToolkit-Unity · GitHub
![IMixedRealityInputHandler and IMixedRealityFocusHandler events are fired twice · Issue #7020 · microsoft/MixedRealityToolkit-Unity · GitHub IMixedRealityInputHandler and IMixedRealityFocusHandler events are fired twice · Issue #7020 · microsoft/MixedRealityToolkit-Unity · GitHub](https://user-images.githubusercontent.com/11729541/72090809-ad632e00-3306-11ea-8e16-7d031254401a.png)
IMixedRealityInputHandler and IMixedRealityFocusHandler events are fired twice · Issue #7020 · microsoft/MixedRealityToolkit-Unity · GitHub
![unity - How to properly differentiate single-clicks and double-click in Unity3D using C#? - Game Development Stack Exchange unity - How to properly differentiate single-clicks and double-click in Unity3D using C#? - Game Development Stack Exchange](https://i.stack.imgur.com/lDeRi.png)