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

This class makes it possible to activate or select something by pressing a key (such as space bar for example). More...

Inheritance diagram for UIKeyBinding:

Public Types

enum  Action { Action.PressAndClick, Action.Select, Action.All }
 
enum  Modifier { Modifier.None, Modifier.Shift, Modifier.Control, Modifier.Alt }
 

Public Attributes

KeyCode keyCode = KeyCode.None
 Key that will trigger the binding. More...
 
Modifier modifier = Modifier.None
 Modifier key that must be active in order for the binding to trigger. More...
 
Action action = Action.PressAndClick
 Action to take with the specified key. More...
 

Detailed Description

This class makes it possible to activate or select something by pressing a key (such as space bar for example).

Member Enumeration Documentation

Enumerator
PressAndClick 
Select 
All 
Enumerator
None 
Shift 
Control 
Alt 

Member Data Documentation

Action UIKeyBinding.action = Action.PressAndClick

Action to take with the specified key.

KeyCode UIKeyBinding.keyCode = KeyCode.None

Key that will trigger the binding.

Modifier UIKeyBinding.modifier = Modifier.None

Modifier key that must be active in order for the binding to trigger.


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