snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.63k stars 290 forks source link

[Bugfix] Addressing Draggable2D UI Lag #942

Closed CG-Tespy closed 3 years ago

CG-Tespy commented 3 years ago

Description

Bug fix

What is the current behavior?

When you try to drag a UI element with a Draggable2D component, it lags behind, moving so slowly.

What is the new behavior?

Dragging UI elements works as well as dragging regular 2D sprites does with the Draggable2D component

Important Notes

Other information

CG-Tespy commented 3 years ago

The latest bugfix made things work off of world position again. Updated the PR OP

CG-Tespy commented 3 years ago

Just noticed another bug: when you have a Sprite using the Event System, the drag effect gets greatly exaggerated. I'll be looking into a solution