Свойство | Type | Description | |
---|---|---|---|
layout | Layout | ||
needMask | bool | ||
spacing |
Свойство | Type | Description | |
---|---|---|---|
content | |||
initialized | bool | ||
lastStartInex | int | ||
leftTopCorner | |||
lstData | List | ||
scrollRect | ScrollRect | ||
scrollRectSize |
Méthode | Description | |
---|---|---|
GetContentSize ( ) : |
Gets the rect tranform size of the content of the ScrollRect
|
|
GetDataCount ( ) : int |
Gets the data count. default return 1
|
|
GetItemAnchorPos ( int index ) : |
Gets the anchor position of the item indexed index Assume that anchorMin = anchorMax = pivot = new Vector(0.5f, 0.5f)
|
|
GetItemGameObject ( int index ) : |
Gets the item game object.
|
|
GetItemSize ( int index ) : |
Gets the size of the item of specified index
|
|
GetMaxShowItemNum ( ) : int |
Gets the max show item number.
|
|
GetStartIndex ( ) : int |
Gets the start index of the item to be shown
|
|
HideNonuseableItems ( ) : void |
Hides the nonuseable items.
|
|
Init ( ) : void | ||
OnClick ( int index ) : void |
Raises the click event.
|
|
OnPointerClick ( PointerEventData eventData ) : void |
Raises the pointer enter event.
|
|
OnProgress ( float progress ) : void |
Raises the progress event when progress change
|
|
SetData ( List |
Méthode | Description | |
---|---|---|
GetCurrentShowItemNum ( ) : int |
Gets the current show item number.
|
|
RefreshListView ( ) : void |
Méthode | Description | |
---|---|---|
GetTopLeftCornerScreenPoint ( ) : |
Gets the top left corner screen point.
|
|
OnValueChanged ( |
public abstract GetContentSize ( ) : |
||
Résultat |
public abstract GetItemAnchorPos ( int index ) : |
||
index | int | index of item |
Résultat |
public abstract GetItemGameObject ( int index ) : |
||
index | int | Index. |
Résultat |
public abstract GetItemSize ( int index ) : |
||
index | int | Index. |
Résultat |
public abstract GetMaxShowItemNum ( ) : int | ||
Résultat | int |
public abstract HideNonuseableItems ( ) : void | ||
Résultat | void |
public OnPointerClick ( PointerEventData eventData ) : void | ||
eventData | PointerEventData | Event data. |
Résultat | void |
public OnProgress ( float progress ) : void | ||
progress | float | Progress. |
Résultat | void |
protected RectTransform,UnityEngine content | ||
Résultat |
protected Vector2,UnityEngine leftTopCorner | ||
Résultat |
protected Vector2,UnityEngine scrollRectSize | ||
Résultat |