Click or drag to resize

BaseParamsUpdateMode Enumeration

Represents how often or when the optimizer does his core loop: checking for any items that need to be created, destroyed, disabled, displayed, recycled

Namespace:  frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public enum UpdateMode
Members
  Member nameValueDescription
ON_SCROLL_THEN_MONOBEHAVIOUR_UPDATE0

Updates are triggered by a MonoBehaviour.Update() (i.e. each frame the ScrollView is active) and at each OnScroll event

Moderate performance when scrolling, but works in all cases

ON_SCROLL1

Updates ar triggered by each OnScroll event

Experimental. However, if you use it and see no issues, it's recommended over ON_SCROLL_THEN_MONOBEHAVIOUR_UPDATE.

This is also useful if you don't want the optimizer to use CPU when idle.

A bit better performance when scrolling

MONOBEHAVIOUR_UPDATE2

Update is triggered by a MonoBehaviour.Update() (i.e. each frame the ScrollView is active)

In this mode, some temporary gaps appear when fast-scrolling. If this is not acceptable, use other modes.

Best performance when scrolling, items appear a bit delayed when fast-scrolling

Version Information

Optimized ScrollView Adapter

Supported in: 3.1, 2.5.2
See Also