UISkinButtons Class Reference

User interface button class that, depending on where the user clicks, causes a second ButtonEvent with the sub-button index appended to the buttonAction. More...

Inheritance diagram for UISkinButtons:
UIButton UIBase

List of all members.

Public Member Functions

override void Awake ()
override void DrawUI ()
 Draws the button to the screen.
void OnButtonPressed (ButtonEvent e)
void OnButtonReleased (ButtonEvent e)

Public Attributes

int buttonCount = 1
int firstPlayer = 0
 Index of the first player allowed to use this button.
Texture[] selectors
 A selector image for each player allowed to use this button offset by first player.
Vector2[] selectorOffsets
int[] selections

Detailed Description

User interface button class that, depending on where the user clicks, causes a second ButtonEvent with the sub-button index appended to the buttonAction.


Member Function Documentation

override void UISkinButtons.DrawUI (  )  [virtual]

Draws the button to the screen.

Reimplemented from UIButton.


Member Data Documentation

Index of the first player allowed to use this button.

A selector image for each player allowed to use this button offset by first player.


The documentation for this class was generated from the following file:

Generated on Fri Aug 21 09:09:58 2009 for Hamlington Underground Racing Association by  doxygen 1.6.0