NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
UIButtonKeys Class Reference

Deprecated component. Use UIKeyNavigation instead. More...

Inheritance diagram for UIButtonKeys:
UIKeyNavigation

Public Member Functions

void Upgrade ()
 

Public Attributes

UIButtonKeys selectOnClick
 
UIButtonKeys selectOnUp
 
UIButtonKeys selectOnDown
 
UIButtonKeys selectOnLeft
 
UIButtonKeys selectOnRight
 
- Public Attributes inherited from UIKeyNavigation
Constraint constraint = Constraint.None
 If a selection target is not set, the target can be determined automatically, restricted by this constraint. 'None' means free movement on both horizontal and vertical axis. 'Explicit' means the automatic logic will not execute, and only the explicitly set values will be used. More...
 
GameObject onUp
 Which object will be selected when the Up button is pressed. More...
 
GameObject onDown
 Which object will be selected when the Down button is pressed. More...
 
GameObject onLeft
 Which object will be selected when the Left button is pressed. More...
 
GameObject onRight
 Which object will be selected when the Right button is pressed. More...
 
GameObject onClick
 Which object will get selected on click. More...
 
bool startsSelected = false
 Whether the object this script is attached to will get selected as soon as this script is enabled. More...
 

Protected Member Functions

override void OnEnable ()
 
- Protected Member Functions inherited from UIKeyNavigation
virtual void OnDisable ()
 
GameObject GetLeft ()
 
GameObject GetUp ()
 
GameObject GetDown ()
 
GameObject Get (Vector3 myDir, bool horizontal)
 
virtual void OnKey (KeyCode key)
 
virtual void OnClick ()
 

Additional Inherited Members

- Public Types inherited from UIKeyNavigation
enum  Constraint { Constraint.None, Constraint.Vertical, Constraint.Horizontal, Constraint.Explicit }
 
- Static Public Attributes inherited from UIKeyNavigation
static BetterList
< UIKeyNavigation
list = new BetterList<UIKeyNavigation>()
 List of all the active UINavigation components. More...
 
- Static Protected Member Functions inherited from UIKeyNavigation
static Vector3 GetCenter (GameObject go)
 

Detailed Description

Deprecated component. Use UIKeyNavigation instead.

Member Function Documentation

override void UIButtonKeys.OnEnable ( )
protectedvirtual

Reimplemented from UIKeyNavigation.

void UIButtonKeys.Upgrade ( )

Member Data Documentation

UIButtonKeys UIButtonKeys.selectOnClick
UIButtonKeys UIButtonKeys.selectOnDown
UIButtonKeys UIButtonKeys.selectOnLeft
UIButtonKeys UIButtonKeys.selectOnRight
UIButtonKeys UIButtonKeys.selectOnUp

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