C# Class ItemsCollection, code

Inheritance: MonoBehaviour
Datei anzeigen Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
ItemsCollection ( owner )
ItemsCollection ( owner, ItemParentChangerDelegate itemParentChanger )

Protected Methods

Method Description
ClearItems ( ) : void
InsertItem ( int index, item ) : void
RemoveItem ( int index ) : void
SetItem ( int index, item ) : void

Private Methods

Method Description
CheckParent ( item )
ItemsCollection ( )

Method Details

ClearItems() protected method

protected ClearItems ( ) : void
return void

InsertItem() protected method

protected InsertItem ( int index, item ) : void
index int
return void

ItemsCollection() public method

public ItemsCollection ( owner )

ItemsCollection() public method

public ItemsCollection ( owner, ItemParentChangerDelegate itemParentChanger )
itemParentChanger ItemParentChangerDelegate

RemoveItem() protected method

protected RemoveItem ( int index ) : void
index int
return void

SetItem() protected method

protected SetItem ( int index, item ) : void
index int
return void