C# Класс ListBox, Unity3D-GUIExtras

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

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

Свойство Тип Описание
custom_skin GUISkin
custom_skin_flag bool
lastSelectedIndex int

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

Метод Описание
AddItem ( System c_ItemLabel ) : int
AddItem ( System c_ItemLabel, int c_ItemH ) : int
AddItem ( Texture2D c_ItemIcon ) : int
AddItem ( Texture2D c_ItemIcon, int c_ItemH ) : int
GetSelectedID ( ) : int
InsertItem ( int insertPos, System c_ItemLabel ) : int
InsertItem ( int insertPos, System c_ItemLabel, int c_ItemH ) : int
InsertItem ( int insertPos, Texture2D c_ItemIcon ) : int
InsertItem ( int insertPos, Texture2D c_ItemIcon, int c_ItemH ) : int
ListBox ( Rect c_drawRect, Rect c_visibleRect ) : System.Collections
ListBox ( Rect c_drawRect, Rect c_visibleRect, GUISkin c_custom_skin ) : System.Collections
ListBox ( Rect c_drawRect, Rect c_visibleRect, bool c_horScrollV, bool c_vertScrollV ) : System.Collections
ListBox ( Rect c_drawRect, Rect c_visibleRect, bool c_horScrollV, bool c_vertScrollV, GUISkin c_custom_skin ) : System.Collections
ReDraw ( ) : bool
RemoveItem ( int iIndex ) : bool

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

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

public AddItem ( System c_ItemLabel ) : int
c_ItemLabel System
Результат int

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

public AddItem ( System c_ItemLabel, int c_ItemH ) : int
c_ItemLabel System
c_ItemH int
Результат int

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

public AddItem ( Texture2D c_ItemIcon ) : int
c_ItemIcon UnityEngine.Texture2D
Результат int

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

public AddItem ( Texture2D c_ItemIcon, int c_ItemH ) : int
c_ItemIcon UnityEngine.Texture2D
c_ItemH int
Результат int

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

public GetSelectedID ( ) : int
Результат int

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

public InsertItem ( int insertPos, System c_ItemLabel ) : int
insertPos int
c_ItemLabel System
Результат int

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

public InsertItem ( int insertPos, System c_ItemLabel, int c_ItemH ) : int
insertPos int
c_ItemLabel System
c_ItemH int
Результат int

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

public InsertItem ( int insertPos, Texture2D c_ItemIcon ) : int
insertPos int
c_ItemIcon UnityEngine.Texture2D
Результат int

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

public InsertItem ( int insertPos, Texture2D c_ItemIcon, int c_ItemH ) : int
insertPos int
c_ItemIcon UnityEngine.Texture2D
c_ItemH int
Результат int

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

public ListBox ( Rect c_drawRect, Rect c_visibleRect ) : System.Collections
c_drawRect Rect
c_visibleRect Rect
Результат System.Collections

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

public ListBox ( Rect c_drawRect, Rect c_visibleRect, GUISkin c_custom_skin ) : System.Collections
c_drawRect Rect
c_visibleRect Rect
c_custom_skin UnityEngine.GUISkin
Результат System.Collections

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

public ListBox ( Rect c_drawRect, Rect c_visibleRect, bool c_horScrollV, bool c_vertScrollV ) : System.Collections
c_drawRect Rect
c_visibleRect Rect
c_horScrollV bool
c_vertScrollV bool
Результат System.Collections

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

public ListBox ( Rect c_drawRect, Rect c_visibleRect, bool c_horScrollV, bool c_vertScrollV, GUISkin c_custom_skin ) : System.Collections
c_drawRect Rect
c_visibleRect Rect
c_horScrollV bool
c_vertScrollV bool
c_custom_skin UnityEngine.GUISkin
Результат System.Collections

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

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

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

public RemoveItem ( int iIndex ) : bool
iIndex int
Результат bool

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

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

protected GUISkin custom_skin
Результат GUISkin

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

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

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

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