Tanoda
UnityEngine.UI.Extensions.UI_InfiniteScroll Class Reference

Infinite scroll view with automatic configuration More...

Inheritance diagram for UnityEngine.UI.Extensions.UI_InfiniteScroll:

Public Member Functions

void Init ()
 
void OnScroll (Vector2 pos)
 

Public Attributes

bool InitByUser = false
 

Detailed Description

Infinite scroll view with automatic configuration

Fields

  • InitByUSer - in case your scrollrect is populated from code, you can explicitly Initialize the infinite scroll after your scroll is ready by callin Init() method

Notes

  • doesn't work in both vertical and horizontal orientation at the same time.
  • in order to work it disables layout components and size fitter if present(automatically)

Definition at line 22 of file UI_InfiniteScroll.cs.

Member Function Documentation

◆ Init()

void UnityEngine.UI.Extensions.UI_InfiniteScroll.Init ( )

Definition at line 51 of file UI_InfiniteScroll.cs.

◆ OnScroll()

void UnityEngine.UI.Extensions.UI_InfiniteScroll.OnScroll ( Vector2  pos)

Definition at line 136 of file UI_InfiniteScroll.cs.

Member Data Documentation

◆ InitByUser

bool UnityEngine.UI.Extensions.UI_InfiniteScroll.InitByUser = false

Definition at line 26 of file UI_InfiniteScroll.cs.


The documentation for this class was generated from the following file: