C# Class UIListItemContainer, urban-survivors

Inheritance: ControlBase, IUIListObject, IUIContainer
显示文件 Open project: exdev/urban-survivors Class Usage Examples

Protected Properties

Property Type Description
index int
m_started bool
textObjs List
uiObjs List

Public Methods

Method Description
AddChild ( GameObject go ) : void
AddSubject ( GameObject go ) : void
Delete ( ) : void
FindOuterEdges ( ) : void
GetElement ( string elementName ) : SpriteRoot,

Searches for and returns the first control/element it encounters with the specified name that is a child of this container.

GetTextElement ( string elementName ) : SpriteText,

Searches for and returns the first SpriteText it encounters with the specified name that is a child of this container.

GetTransitions ( int index ) : EZTransitionList
Hide ( bool tf ) : void
IsContainer ( ) : bool
MakeChild ( GameObject go ) : void

Makes the specified GameObject a child of this container, including making it a child of the container's transform.

OnInput ( POINTER_INFO ptr ) : void
RemoveChild ( GameObject go ) : void
RemoveSubject ( GameObject go ) : void
ScanChildren ( ) : void
SetList ( UIScrollList c ) : void
Start ( ) : void
Unclip ( ) : void
UpdateCollider ( ) : void

Method Details

AddChild() public method

public AddChild ( GameObject go ) : void
go GameObject
return void

AddSubject() public method

public AddSubject ( GameObject go ) : void
go GameObject
return void

Delete() public method

public Delete ( ) : void
return void

FindOuterEdges() public method

public FindOuterEdges ( ) : void
return void

GetElement() public method

Searches for and returns the first control/element it encounters with the specified name that is a child of this container.
public GetElement ( string elementName ) : SpriteRoot,
elementName string Name of the control/element to be found.
return SpriteRoot,

GetTextElement() public method

Searches for and returns the first SpriteText it encounters with the specified name that is a child of this container.
public GetTextElement ( string elementName ) : SpriteText,
elementName string Name of the text element to be found.
return SpriteText,

GetTransitions() public method

public GetTransitions ( int index ) : EZTransitionList
index int
return EZTransitionList

Hide() public method

public Hide ( bool tf ) : void
tf bool
return void

IsContainer() public method

public IsContainer ( ) : bool
return bool

MakeChild() public method

Makes the specified GameObject a child of this container, including making it a child of the container's transform.
public MakeChild ( GameObject go ) : void
go GameObject GameObject to make a child of the panel.
return void

OnInput() public method

public OnInput ( POINTER_INFO ptr ) : void
ptr POINTER_INFO
return void

RemoveChild() public method

public RemoveChild ( GameObject go ) : void
go GameObject
return void

RemoveSubject() public method

public RemoveSubject ( GameObject go ) : void
go GameObject
return void

ScanChildren() public method

public ScanChildren ( ) : void
return void

SetList() public method

public SetList ( UIScrollList c ) : void
c UIScrollList
return void

Start() public method

public Start ( ) : void
return void

Unclip() public method

public Unclip ( ) : void
return void

UpdateCollider() public method

public UpdateCollider ( ) : void
return void

Property Details

index protected_oe property

protected int index
return int

m_started protected_oe property

protected bool m_started
return bool

textObjs protected_oe property

protected List textObjs
return List

uiObjs protected_oe property

protected List uiObjs
return List