C# Класс NSUListView.IUListView

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
layout Layout
needMask bool
spacing UnityEngine.Vector2

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

Свойство Тип Описание
content UnityEngine.RectTransform
initialized bool
lastStartInex int
leftTopCorner UnityEngine.Vector2
lstData List
scrollRect ScrollRect
scrollRectSize UnityEngine.Vector2

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

Метод Описание
GetContentSize ( ) : Vector2

Gets the rect tranform size of the content of the ScrollRect

GetDataCount ( ) : int

Gets the data count. default return 1

GetItemAnchorPos ( int index ) : Vector2

Gets the anchor position of the item indexed index Assume that anchorMin = anchorMax = pivot = new Vector(0.5f, 0.5f)

GetItemGameObject ( int index ) : GameObject

Gets the item game object.

GetItemSize ( int index ) : Vector2

Gets the size of the item of specified index

GetMaxShowItemNum ( ) : int

Gets the max show item number.

GetStartIndex ( ) : int

Gets the start index of the item to be shown

HideNonuseableItems ( ) : void

Hides the nonuseable items.

Init ( ) : void
OnClick ( int index ) : void

Raises the click event.

OnPointerClick ( PointerEventData eventData ) : void

Raises the pointer enter event.

OnProgress ( float progress ) : void

Raises the progress event when progress change

SetData ( List lstData ) : void

Защищенные методы

Метод Описание
GetCurrentShowItemNum ( ) : int

Gets the current show item number.

RefreshListView ( ) : void

Приватные методы

Метод Описание
GetTopLeftCornerScreenPoint ( ) : Vector2

Gets the top left corner screen point.

OnValueChanged ( Vector2 pos ) : void

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

GetContentSize() публичный абстрактный Метод

Gets the rect tranform size of the content of the ScrollRect
public abstract GetContentSize ( ) : Vector2
Результат UnityEngine.Vector2

GetCurrentShowItemNum() защищенный Метод

Gets the current show item number.
protected GetCurrentShowItemNum ( ) : int
Результат int

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

Gets the data count. default return 1
public GetDataCount ( ) : int
Результат int

GetItemAnchorPos() публичный абстрактный Метод

Gets the anchor position of the item indexed index Assume that anchorMin = anchorMax = pivot = new Vector(0.5f, 0.5f)
public abstract GetItemAnchorPos ( int index ) : Vector2
index int index of item
Результат UnityEngine.Vector2

GetItemGameObject() публичный абстрактный Метод

Gets the item game object.
public abstract GetItemGameObject ( int index ) : GameObject
index int Index.
Результат UnityEngine.GameObject

GetItemSize() публичный абстрактный Метод

Gets the size of the item of specified index
public abstract GetItemSize ( int index ) : Vector2
index int Index.
Результат UnityEngine.Vector2

GetMaxShowItemNum() публичный абстрактный Метод

Gets the max show item number.
public abstract GetMaxShowItemNum ( ) : int
Результат int

GetStartIndex() публичный абстрактный Метод

Gets the start index of the item to be shown
public abstract GetStartIndex ( ) : int
Результат int

HideNonuseableItems() публичный абстрактный Метод

Hides the nonuseable items.
public abstract HideNonuseableItems ( ) : void
Результат void

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

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

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

Raises the click event.
public OnClick ( int index ) : void
index int
Результат void

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

Raises the pointer enter event.
public OnPointerClick ( PointerEventData eventData ) : void
eventData PointerEventData Event data.
Результат void

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

Raises the progress event when progress change
public OnProgress ( float progress ) : void
progress float Progress.
Результат void

RefreshListView() защищенный Метод

protected RefreshListView ( ) : void
Результат void

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

public SetData ( List lstData ) : void
lstData List
Результат void

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

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

protected RectTransform,UnityEngine content
Результат UnityEngine.RectTransform

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

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

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

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

layout публичное свойство

public Layout layout
Результат Layout

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

protected Vector2,UnityEngine leftTopCorner
Результат UnityEngine.Vector2

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

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

needMask публичное свойство

public bool needMask
Результат bool

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

protected ScrollRect scrollRect
Результат ScrollRect

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

protected Vector2,UnityEngine scrollRectSize
Результат UnityEngine.Vector2

spacing публичное свойство

public Vector2,UnityEngine spacing
Результат UnityEngine.Vector2