frame8.ScrollRectItemsAdapter.Util Namespace |
| Class | Description | |
|---|---|---|
| BaseParamsWithPrefab | Obsolete.
This class was moved to frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter.BaseParamsWithPrefab. Use it instead (it's the same implementation).
| |
| BaseParamsWithPrefabAndDataTData | ||
| BaseParamsWithPrefabAndLazyDataTData | ||
| DiscreteScrollbar |
Important note: if used with ScrollbarFixer8 (which is true in the most cases,
make sure minSize is not too small
| |
| DiscreteScrollbarUnityIntEvent | ||
| ExpandCollapseOnClick |
Utility to expand an item when it's clicked, dispatching the size change request via ExpandCollapseOnClickISizeChangesHandler for increased flexibility
Known issue when used with SRIA: when during collapsing the item goes outside viewport, the animation stales, since the views are recycled.
This can be solved by having a separate resizing utility script that's not attached to a recycling-prone object.
| |
| ExpandCollapseOnClickUnityFloatEvent | ||
| InputFieldInScrollRectFixer |
Utility that allows dragging a ScrollRect even if the PointerDown event has started inside a child InputField (which cancels the dragging by default)
| |
| LazyListT | Very handy List implementation that delays object creation until it's accessed, although the underlying List is still allocated with all slots from the beginning, only that they have default values - default(T) | |
| LazyListTEnumerableLazyList | ||
| LoadSceneOnClick | Added to a GameObject that has a Button component, it loads sceneName scene when the button is clicked | |
| LongClickableItem |
Utility to delegate the "long click" event to longClickListener
It requires a graphic component (can be an image with zero alpha) that can be clicked in order to receive OnPointerDown, OnPointerUp etc.
No other UI elements should be on top of this one in order to receive pointer callbacks
| |
| RectTransformEdgeDragger | ||
| ResizeablePanel | ||
| ResizeablePanelUnityEventBool | ||
| ScreenAutoRotationPanel | ||
| ScrollbarRotateOnPull | ||
| ShowOnlyOnPortraitOrientation | ||
| SimpleFPSCounter | Uses GUILayout to display a FPS counter in top-left | |
| SimpleImageColorBouncer | Smoothly fades back and forth between color a and b | |
| SimpleImageDownloader | A utility singleton class for downloading images using a LIFO queue for the requests. MaxConcurrentRequests can be used to limit the number of concurrent requests. Default is DEFAULT_MAX_CONCURRENT_REQUESTS. Each request is executed immediately if there's room for it. When the queue is full, the downloder starts checking each second if a slot is freed, after which re-enters the loop. | |
| SimpleImageDownloaderRequest | ||
| SimpleImageDownloaderResult | ||
| SRIATitle |
| Interface | Description | |
|---|---|---|
| ExpandCollapseOnClickISizeChangesHandler | Interface to implement by the class that'll handle the size changes when the animation runs | |
| LongClickableItemIItemLongClickListener | Interface to implement by the class that'll handle the long click events |