Skip to content

Releases: LanKuDot/game_modules

Circular Scrolling List - v6.2

10 Jan 15:18
3108cd3
Compare
Choose a tag to compare

Added

  • Add OnBoxMoved to ListBox

Circular Scrolling List - v6.1

06 Apr 15:49
401f5fb
Compare
Choose a tag to compare

Added

  • Add OnInitialized to ListBox

Fixed

  • Incorrect box state when refreshing the list with top/bottom focusing

Circular Scrolling List - v6

25 Mar 16:34
7057def
Compare
Choose a tag to compare

Added

  • Add events
    • OnBoxSelected
    • OnFocusingBoxChanged
  • Allow multi-control modes at the same time
  • Support 3 different focusing posiiton
  • Support the list to be stopped at the top or the bottom
  • Support layout preview in the editor
  • Support runtime setup and initialization
  • Stop the movement by the script
  • Toggle the interaction of the list by the script
  • Get the the boxes in the list and the list which the box belongs to

Fixed

  • Incorrect layout when the list moves too fast
  • Incorrect aligning position for even number of boxes

Removed

  • Remove events
    • OnBoxClick
    • OnCenteredContentChanged
  • Remove "Assign References of Bank and Boxes" option from the context menu

Circular Scolling List - v5.1

11 Nov 13:51
3aaf55c
Compare
Choose a tag to compare

Fixed

  • Fix the incorrect behaviour of the linear-function mode

Circular Scolling List - v5

08 Aug 14:58
20dd77b
Compare
Choose a tag to compare

Custom list, Reverse order, and Dynamic contents!

Added

  • Support custom type of the list box and list bank
  • Support dynamic list contents, also 0 content
  • Add new options
    • Reverse scrolling direction
    • Reverse order
    • Center selected box
    • Initialize on start
  • Add new events
    • OnCenteredContentChanged
    • OnMovementEnd
  • Select the list content from the script
  • Image sorting - The centered box will be in front of the others.

Changed

  • All the related classes are in the namespace AirFishLab.ScrollingList.
  • Change setup class from ListPositionCtrl to CircularScrollingList
  • Change the x range of the list position curve and list scale curve from [0, 1] to [-1, 1]
  • Separate the curve used for list velocity and list movement
  • The layout of the list is decided by the width/height of the rect transform.
  • Improve the calculation of the dragging velocity
  • Code refactoring
  • The supported Unity version is 2018.4+ (C# 6.0+)