C# Class ListBox, Unity3D-GUIExtras

Inheritance: MonoBehaviour
Afficher le fichier Open project: ProgManUA/Unity3D-GUIExtras Class Usage Examples

Protected Properties

Свойство Type Description
custom_skin GUISkin
custom_skin_flag bool
lastSelectedIndex int

Méthodes publiques

Méthode Description
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

Method Details

AddItem() public méthode

public AddItem ( System c_ItemLabel ) : int
c_ItemLabel System
Résultat int

AddItem() public méthode

public AddItem ( System c_ItemLabel, int c_ItemH ) : int
c_ItemLabel System
c_ItemH int
Résultat int

AddItem() public méthode

public AddItem ( Texture2D c_ItemIcon ) : int
c_ItemIcon UnityEngine.Texture2D
Résultat int

AddItem() public méthode

public AddItem ( Texture2D c_ItemIcon, int c_ItemH ) : int
c_ItemIcon UnityEngine.Texture2D
c_ItemH int
Résultat int

GetSelectedID() public méthode

public GetSelectedID ( ) : int
Résultat int

InsertItem() public méthode

public InsertItem ( int insertPos, System c_ItemLabel ) : int
insertPos int
c_ItemLabel System
Résultat int

InsertItem() public méthode

public InsertItem ( int insertPos, System c_ItemLabel, int c_ItemH ) : int
insertPos int
c_ItemLabel System
c_ItemH int
Résultat int

InsertItem() public méthode

public InsertItem ( int insertPos, Texture2D c_ItemIcon ) : int
insertPos int
c_ItemIcon UnityEngine.Texture2D
Résultat int

InsertItem() public méthode

public InsertItem ( int insertPos, Texture2D c_ItemIcon, int c_ItemH ) : int
insertPos int
c_ItemIcon UnityEngine.Texture2D
c_ItemH int
Résultat int

ListBox() public méthode

public ListBox ( Rect c_drawRect, Rect c_visibleRect ) : System.Collections
c_drawRect Rect
c_visibleRect Rect
Résultat System.Collections

ListBox() public méthode

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
Résultat System.Collections

ListBox() public méthode

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
Résultat System.Collections

ListBox() public méthode

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
Résultat System.Collections

ReDraw() public méthode

public ReDraw ( ) : bool
Résultat bool

RemoveItem() public méthode

public RemoveItem ( int iIndex ) : bool
iIndex int
Résultat bool

Property Details

custom_skin protected_oe property

protected GUISkin custom_skin
Résultat GUISkin

custom_skin_flag protected_oe property

protected bool custom_skin_flag
Résultat bool

lastSelectedIndex protected_oe property

protected int lastSelectedIndex
Résultat int