Skip to content

Releases: juniordiscart/ImpossibleOdds-MouseEvents

v1.3.0

16 Jun 16:42
Compare
Choose a tag to compare
  • Added a DragDistanceThreshold to the the MouseEventMonitor to allow small/accidental drag operations to still register as a click.
  • Updated the sample scene to also log the performed actions to the console.

v1.1.0

18 Feb 17:17
Compare
Choose a tag to compare
  • Moved away from working in the OnGUI loop because it seems to there's a bug in its cycle, which skips a frame and can't reliably poll for inputs. The MouseEventMonitor will now work very early in the regular Update cycle.
  • Added the onDragStart event which is called whenever the mouse events monitor detects that the user starts dragging the mouse while holding one of the tracked mouse buttons.
  • Added the onNewFrame event which can be useful to clear any mouse event caches.
  • Added the IsTerminalEvent property to the MouseButtonEvent struct to detect whether the mouse event can evolve further into different events or not.
  • Updated the MouseEventMonitor to allow suspension of operations when it detects the cursor is over UI elements.
  • Removed the TextMeshPro dependency.

Initial Release

04 Sep 19:52
Compare
Choose a tag to compare

First release of the Impossible Odds - Mouse Events package.

The following features are included in this release:

  • Single & double click detection,
  • Dragging and drag completion detection,
  • Events and polling for mouse events, and
  • Tracking of multiple mouse buttons.