Property | Type | Description | |
---|---|---|---|
isInLoop | bool | ||
isVertical | bool | ||
itemDatas | List | ||
mChildrenStatus | bool>.Dictionary | ||
mGrid | UIGrid, | ||
mScrollView | UIScrollView, | ||
prefab | GameObject |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
LateUpdate ( ) : void | ||
RefreshLoopScrollView ( ) : void |
Method | Description | |
---|---|---|
AddChildToTarget ( Transform target, Transform child ) : void |
添加子节点 Add new child to target.
|
|
ChangeChildLayer ( Transform t, int layer ) : void |
修改子节点Layer NGUITools.SetLayer();
|
|
ChangeItemLocation ( Transform targetTrs, bool isToEnd ) : void | ||
CheckMinLoopItemCount ( ) : void | ||
GetFreeItem ( ) : GameObject | ||
InitLoopScrollView ( ) : void | ||
InitScrollView ( ) : void | ||
MoveBackToGrid ( Transform trsTarget ) : void | ||
MoveItemToCacheParent ( Transform trsTarget ) : void | ||
OnChangeItemVisable ( Transform trs ) : bool | ||
ResetScrollView ( ) : void | ||
SortByCurrentDataIndex ( LoopBaseItem, left, LoopBaseItem, right ) : int | ||
TryChangeItem ( Transform trs, bool isToEnd ) : bool | ||
UpdateItemData ( bool isToEnd, Transform targetTrs ) : void | ||
UpdateItemVisable ( bool isFirstTime ) : void |