Monday, October 6, 2025

SelectableScroll v1.3.0 Released

 I’ve just released SelectableScroll v1.3.0!

This update addresses an issue where the scroll movement stopped working when Time.timeScale was set to zero.

Previously, the scroll animation during cursor movement relied on Time.deltaTime.
However, since deltaTime becomes zero when the game is paused (Time.timeScale = 0), the menu scrolling would freeze as well.

To fix this, I added a new GetDeltaTime() function that provides a customizable delta time value.
By default, it now uses Time.unscaledDeltaTime, allowing menu scrolling to remain smooth even when the game is paused or slowed down.

What's New

  • Added protected virtual float GetDeltaTime()

  • Default implementation returns Time.deltaTime

  • Can be overridden for custom timing behavior

Compatibility

This update introduces no breaking changes — existing projects using previous versions will continue to work as expected.

No comments:

Post a Comment

SelectableScroll v.1.4.0 Released

SelectableScroll v.1.4.0 is now available. This update focuses on improving control over looping behavior when navigating grid-based UI, ena...