C# Класс UIListItemContainer, urban-survivors

Наследование: ControlBase, IUIListObject, IUIContainer
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
index int
m_started bool
textObjs List
uiObjs List

Открытые методы

Метод Описание
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

Описание методов

AddChild() публичный Метод

public AddChild ( GameObject go ) : void
go GameObject
Результат void

AddSubject() публичный Метод

public AddSubject ( GameObject go ) : void
go GameObject
Результат void

Delete() публичный Метод

public Delete ( ) : void
Результат void

FindOuterEdges() публичный Метод

public FindOuterEdges ( ) : void
Результат void

GetElement() публичный Метод

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.
Результат SpriteRoot,

GetTextElement() публичный Метод

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.
Результат SpriteText,

GetTransitions() публичный Метод

public GetTransitions ( int index ) : EZTransitionList
index int
Результат EZTransitionList

Hide() публичный Метод

public Hide ( bool tf ) : void
tf bool
Результат void

IsContainer() публичный Метод

public IsContainer ( ) : bool
Результат bool

MakeChild() публичный Метод

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.
Результат void

OnInput() публичный Метод

public OnInput ( POINTER_INFO ptr ) : void
ptr POINTER_INFO
Результат void

RemoveChild() публичный Метод

public RemoveChild ( GameObject go ) : void
go GameObject
Результат void

RemoveSubject() публичный Метод

public RemoveSubject ( GameObject go ) : void
go GameObject
Результат void

ScanChildren() публичный Метод

public ScanChildren ( ) : void
Результат void

SetList() публичный Метод

public SetList ( UIScrollList c ) : void
c UIScrollList
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Unclip() публичный Метод

public Unclip ( ) : void
Результат void

UpdateCollider() публичный Метод

public UpdateCollider ( ) : void
Результат void

Описание свойств

index защищенное свойство

protected int index
Результат int

m_started защищенное свойство

protected bool m_started
Результат bool

textObjs защищенное свойство

protected List textObjs
Результат List

uiObjs защищенное свойство

protected List uiObjs
Результат List