UIManager Class Reference

Manager class required by all UI components. More...

Inheritance diagram for UIManager:
MenuSystem PauseMenu

List of all members.

Public Member Functions

void Awake ()
 Sets up the UI.
void Register (Component[] elements)
void Register (UIBase element)
void Update ()
void OnGUI ()
 Draws the UI.

Public Attributes

UIManager masterUIManager
 Set this if this is not the only UIManager and that another should be used to establish drawing order.

Static Public Attributes

static Matrix4x4 matrix = Matrix4x4.identity
static int LayerMask = (1 << 32) - 1

Properties

static float designWidth [get, set]
static float designHeight [get, set]

Detailed Description

Manager class required by all UI components.

If there are several UIManagers on different objects, draw order must be maintained by only one. To achieve this, other UIManagers should set their masterUIManager to this chosen parent.


Member Function Documentation

void UIManager.Awake (  ) 

Sets up the UI.

void UIManager.OnGUI (  ) 

Draws the UI.


Member Data Documentation

Set this if this is not the only UIManager and that another should be used to establish drawing order.

Otherwise leave unset.


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