BaseParamsUpdateMode Enumeration |
Namespace: frame8.Logic.Misc.Visual.UI.ScrollRectItemsAdapter
public enum UpdateMode
| Member name | Value | Description | |
|---|---|---|---|
| ON_SCROLL_THEN_MONOBEHAVIOUR_UPDATE | 0 | 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_SCROLL | 1 | 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_UPDATE | 2 | 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 |