插件名称:Optimized ScrollView Adapter (ListView, GridView) 4.2 | 插件官网:访问官网 | 版权协议:Red pine1.1 | 解压密码:通用密码 | Optimized ScrollView Adapter (ListView, GridView) 4.2
Optimized ScrollView Adapter (ListView, GridView)
Optimized ScrollView Adapter (ListView, GridView)系列索引
Optimized ScrollView Adapter (ListView, GridView) 3.0.2 下载链接
Optimized ScrollView Adapter (ListView, GridView) 5.0 下载链接
Optimized ScrollView Adapter (ListView, GridView)
Optimized ScrollView Adapter (ListView, GridView)
Optimized ScrollView Adapter
Requires Unity 5.4.3 or higher.
Create eco-friendly chat systems, leaderboards, galleries, inventories, view pagers, spinners, drag-and-drop workflows, hierarchies, date/time pickers, virtually anything involving a list/grid.
Highly customizable uGUI ScrollViews can be created, or existing ScrollRects can be converted. OSA doesn't depend on Unity's ScrollRect, but supersedes it in functionality, so you get everything you're already familiar with, plus extra. 创建生态友好的聊天系统、排行榜、图库、库存、视图寻呼机、微调器、拖放工作流、层次结构、日期/时间选择器,几乎所有涉及列表/网格的内容。
In order to use the entire feature-set, please check the coding part in the quick-start video linked below and make sure you're comfortable with it, as it may appear difficult for some beginners that are not yet familiar with stuff like class inheritance . Not required for Playmaker users, since the features available to them (see below) don't require coding
Start by creating a functional Optimized ScrollView Adapter from scratch, using the provided wizard window which generates a ScrollView from scratch in editor, a scrollbar and an OSA implementation based on 2 available templates, List or Grid, and continue building up using the manual and the 15 demo scenes as a guide.
Features:
- platform-independent
- can handle 2 billion items (int.MaxValue-1)
- variable data set
- items can have different heights/widths
- support for Content Size Fitter for items with unknown size at init time
- GridView with fixed or auto-adaptable number rows/columns
- vertical/horizontal orientation and optional spacing/padding
- rotating/scaling the ScrollView (making it compatible with CanvasScaler)
- no objects are destroyed (unless the number of items in the dataset changes), so GC calls are at minimum
- fully configurable snapping behavior
- auto-adapting to changes in viewport's size
- multiple item types + example scene
- change item size in real time (ex. animations), even if it's not visible
- optionally looping items (ex. spinners)
- ScrollTo specific item with fine position adjusting & SmoothScrollTo with adjustable duration for the animation + a callback can be provided for receiving updates for each animation step and the possibility of canceling it
- fully extensible & documented source code provided
- partially customizable recycling policy through provided callbacks
- enhanced scrollbar functionalities via ScrollbarFixer, which adds auto-hide/hide-when-not-needed animations (can also be used as a standalone component on a regular ScrollRect, case in which it solves this Unity bug)
- dragging the items within the list(re-ordering), between 2 lists (transferring) or outside (orphaning - setting aside to drag later into a list). Example scene provided
Utilities & other info:
- LazyList data structure optimized for large amounts of data
- optional content background scrolling effect, with optional parallax effect (adjustable)
- optional gallery effect (middle items bigger than side items, or custom)
- Nested ScrollViews are supported out of the box (disabled by default, for performance), including nesting a regular ScrollRect as parent/child
- simple ExpandOnClick utility script in the example scenes that can be used to expand/shrink items on click
- pulling effect when the content is dragged outside bounds
- Supports all Canvas spaces
- Pull To Refresh utility script + example scene
- DateTime picker pop-up utility which can be used from anywhere (one line of code)
- SimpleImageDownloader utlity with basic queue management to decrease overall bandwidth usage (no caching though)
- active development with much more features to come (such as a code-free workflow for common scenarios and PlayMaker integration)
- email support with free change requests and hot-fixes
Playmaker support:
At least Unity 2017.1 needed
Lists, grids, date-time picker, content size fitter(items of variable sizes), large data sets.
The demo scenes included do not have Playmaker-counterparts, though this may change in the future. Please watch the tutorial to see how to create Playmaker-ready OSAs through the OSA wizard instead
A non-optimized version, with comparatively few features, was released as ScrollView Adapter
|
|