• Manual
  • API Documentation
Show / Hide Table of Contents
  • UnlimitedScrollUI
    • Alignment
    • AnimationType
    • BecomeInvisibleEvent
    • BecomeVisibleEvent
    • GenerateEvent
    • GridUnlimitedScroller
    • HorizontalUnlimitedScroller
    • ICell
    • IUnlimitedScroller
    • JumpToMethod
    • RegularCell
    • ScrollerPanelSide
    • VerticalUnlimitedScroller
  • UnlimitedScrollUI.Editor
    • GridUnlimitedScrollerEditor
    • HorizontalUnlimitedScrollerEditor
    • VerticalUnlimitedScrollerEditor

Class RegularCell

Regular cell that you can use to quickly setup your cell.

Inheritance
Object
RegularCell
Implements
ICell
Namespace: UnlimitedScrollUI
Assembly: cs.temp.dll.dll
Syntax
public class RegularCell : MonoBehaviour, ICell

Fields

animationType

What kind of animation you want.

Declaration
public AnimationType animationType
Field Value
Type Description
AnimationType

animInterval

How long is the animation.

Declaration
public float animInterval
Field Value
Type Description
Single

fadeFrom

Fade from this value if the animation has fading.

Declaration
public float fadeFrom
Field Value
Type Description
Single

onBecomeInvisible

Will be called when the cell become invisible in the viewport.

Declaration
public BecomeInvisibleEvent onBecomeInvisible
Field Value
Type Description
BecomeInvisibleEvent

onBecomeVisible

Will be called when the cell become visible in the viewport.

Declaration
public BecomeVisibleEvent onBecomeVisible
Field Value
Type Description
BecomeVisibleEvent

onGenerated

Will be called when the cell generate. Add listeners that take an int parameter which represent the index of that cell.

Declaration
public GenerateEvent onGenerated
Field Value
Type Description
GenerateEvent

scaleFrom

Scale from this value if the animation has scaling.

Declaration
public float scaleFrom
Field Value
Type Description
Single

Methods

OnBecomeInvisible(ScrollerPanelSide)

Called when the cell become invisible.

Declaration
public void OnBecomeInvisible(ScrollerPanelSide side)
Parameters
Type Name Description
ScrollerPanelSide side

The side that this cell become invisible. For example, side = ScrollerPanelSide.Right means that the player is dragging the panel to right so that this cell disappears to right.

OnBecomeVisible(ScrollerPanelSide)

Called when the cell become visible.

Declaration
public void OnBecomeVisible(ScrollerPanelSide side)
Parameters
Type Name Description
ScrollerPanelSide side

The side that this cell become visible. For example, side = ScrollerPanelSide.Right means that the player is dragging the panel to left so that this cell appears from right.

Implements

ICell
In This Article
Back to top Generated by DocFX