Class RegularCell
Regular cell that you can use to quickly setup your cell.
Implements
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, |
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, |