C# Class Hugula.UGUIExtend.ScrollRectTable

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: tenvick/hugula Class Usage Examples

Méthodes publiques

Свойство Type Description
DataInsertStr string
DataRemoveStr string
PreRenderStr string
columns int
direction Direction
emptyItem UnityEngine.GameObject
onDataInsert SLua.LuaFunction
onDataRemove SLua.LuaFunction
onItemRender SLua.LuaFunction
onPreRender SLua.LuaFunction
padding Vector2
pageSize int
renderPerFrames float
tileItem ScrollRectItem
tileSize Vector3

Méthodes publiques

Méthode Description
Clear ( ) : void
GetDataFromIndex ( int index ) : LuaTable
GetIndex ( ScrollRectItem item ) : int
InsertData ( object item, int index ) : int
Refresh ( ScrollRectItem item ) : void

Refresh the specified item's position.

Refresh ( int begin = -1, int end = -1 ) : void

Refresh the form give begin data Index.

RemoveChild ( ScrollRectItem item ) : int
RemoveDataAt ( int index ) : int
ScrollTo ( int index ) : void

Private Methods

Méthode Description
CalcBounds ( ) : void
CalcLastEndIndex ( ) : void
CalcPage ( ) : void
CheckShowEmpty ( ) : void
DoRefresh ( int begin, int end ) : void
LateUpdate ( ) : void

Is it time to reposition? Do so now.

PreLeftUp ( int i ) : void
PreRefresh ( int i ) : void
PreRender ( ScrollRectItem item, int index ) : void
PreRightDown ( int i ) : void
Render ( ) : void
RenderItem ( ) : void
Scroll ( int newHead, bool force ) : void
SetPosition ( RectTransform trans, int index ) : void
SetRangeSymbol ( ) : void
Start ( ) : void

Position the grid's contents when the script starts.

Update ( ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

GetDataFromIndex() public méthode

public GetDataFromIndex ( int index ) : LuaTable
index int
Résultat LuaTable

GetIndex() public méthode

public GetIndex ( ScrollRectItem item ) : int
item ScrollRectItem
Résultat int

InsertData() public méthode

public InsertData ( object item, int index ) : int
item object
index int
Résultat int

Refresh() public méthode

Refresh the specified item's position.
public Refresh ( ScrollRectItem item ) : void
item ScrollRectItem /// Item. ///
Résultat void

Refresh() public méthode

Refresh the form give begin data Index.
public Refresh ( int begin = -1, int end = -1 ) : void
begin int /// Begin. ///
end int
Résultat void

RemoveChild() public méthode

public RemoveChild ( ScrollRectItem item ) : int
item ScrollRectItem
Résultat int

RemoveDataAt() public méthode

public RemoveDataAt ( int index ) : int
index int
Résultat int

ScrollTo() public méthode

public ScrollTo ( int index ) : void
index int
Résultat void

Property Details

DataInsertStr public_oe static_oe property

insert data
public static string DataInsertStr
Résultat string

DataRemoveStr public_oe static_oe property

remove data from table
public static string DataRemoveStr
Résultat string

PreRenderStr public_oe static_oe property

prerender
public static string PreRenderStr
Résultat string

columns public_oe property

public int columns
Résultat int

direction public_oe property

public Direction direction
Résultat Direction

emptyItem public_oe property

public GameObject,UnityEngine emptyItem
Résultat UnityEngine.GameObject

onDataInsert public_oe property

public LuaFunction,SLua onDataInsert
Résultat SLua.LuaFunction

onDataRemove public_oe property

public LuaFunction,SLua onDataRemove
Résultat SLua.LuaFunction

onItemRender public_oe property

public LuaFunction,SLua onItemRender
Résultat SLua.LuaFunction

onPreRender public_oe property

public LuaFunction,SLua onPreRender
Résultat SLua.LuaFunction

padding public_oe property

public Vector2 padding
Résultat Vector2

pageSize public_oe property

public int pageSize
Résultat int

renderPerFrames public_oe property

public float renderPerFrames
Résultat float

tileItem public_oe property

public ScrollRectItem,Hugula.UGUIExtend tileItem
Résultat ScrollRectItem

tileSize public_oe property

public Vector3 tileSize
Résultat Vector3