Tanoda
|
ScrollRectOcclusion - disables the objects outside of the scrollrect viewport. Useful for scrolls with lots of content, reduces geometry and drawcalls (if content is not batched) More...
Public Member Functions | |
void | Init () |
void | OnScroll (Vector2 pos) |
Public Attributes | |
bool | InitByUser = false |
ScrollRectOcclusion - disables the objects outside of the scrollrect viewport. Useful for scrolls with lots of content, reduces geometry and drawcalls (if content is not batched)
Fields
Notes
Definition at line 26 of file UI_ScrollRectOcclusion.cs.
void UnityEngine.UI.Extensions.UI_ScrollRectOcclusion.Init | ( | ) |
Definition at line 51 of file UI_ScrollRectOcclusion.cs.
void UnityEngine.UI.Extensions.UI_ScrollRectOcclusion.OnScroll | ( | Vector2 | pos | ) |
Definition at line 116 of file UI_ScrollRectOcclusion.cs.
bool UnityEngine.UI.Extensions.UI_ScrollRectOcclusion.InitByUser = false |
Definition at line 29 of file UI_ScrollRectOcclusion.cs.