Inheritance diagram for PowerUI.EventModifierInit:
PowerUI.UIEventInit PowerUI.EventInit

Public Member Functions

 EventModifierInit ()
 
 EventModifierInit (UnityEngine.Event e)
 

Public Attributes

const uint MODIFIER_SHIFT_SHIFT =1<<0
 The location in ExtraModifiers. More...
 
const uint MODIFIER_SHIFT_CTRL =1<<1
 
const uint MODIFIER_SHIFT_ALT =1<<2
 
const uint MODIFIER_SHIFT_META =1<<3
 
const uint MODIFIER_SHIFT_NUM_LOCK =1<<4
 
const uint MODIFIER_SHIFT_CAPS_LOCK =1<<5
 
const uint MODIFIER_SHIFT_FN =1<<6
 
const uint MODIFIER_SHIFT_ALT_GRAPH =1<<7
 
const uint MODIFIER_SHIFT_FN_LOCK =1<<8
 
const uint MODIFIER_SHIFT_HYPER =1<<9
 
const uint MODIFIER_SHIFT_SCROLL_LOCK =1<<10
 
const uint MODIFIER_SHIFT_SUPER =1<<11
 
const uint MODIFIER_SHIFT_SYMBOL =1<<12
 
const uint MODIFIER_SHIFT_SYMBOL_LOCK =1<<13
 
uint Modifiers
 
- Public Attributes inherited from PowerUI.UIEventInit
Window view
 
long detail
 
- Public Attributes inherited from PowerUI.EventInit
bool bubbles
 
bool cancelable
 
bool composable
 

Properties

bool ctrlKey [get, set]
 
bool shiftKey [get, set]
 
bool altKey [get, set]
 
bool metaKey [get, set]
 
bool modifierAltGraph [get, set]
 
bool modifierCapsLock [get, set]
 
bool modifierFn [get, set]
 
bool modifierFnLock [get, set]
 
bool modifierHyper [get, set]
 
bool modifierNumLock [get, set]
 
bool modifierScrollLock [get, set]
 
bool modifierSuper [get, set]
 
bool modifierSymbol [get, set]
 
bool modifierSymbolLock [get, set]
 

Private Member Functions

bool Get (uint mask)
 
void Set (uint mask, bool value)
 

Additional Inherited Members

- Package Functions inherited from PowerUI.EventInit
virtual void Setup (Dom.Event e)
 

Constructor & Destructor Documentation

PowerUI.EventModifierInit.EventModifierInit ( )
inline
PowerUI.EventModifierInit.EventModifierInit ( UnityEngine.Event  e)
inline

Member Function Documentation

bool PowerUI.EventModifierInit.Get ( uint  mask)
inlineprivate
void PowerUI.EventModifierInit.Set ( uint  mask,
bool  value 
)
inlineprivate

Member Data Documentation

const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_ALT =1<<2
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_ALT_GRAPH =1<<7
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_CAPS_LOCK =1<<5
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_CTRL =1<<1
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_FN =1<<6
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_FN_LOCK =1<<8
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_HYPER =1<<9
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_META =1<<3
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_NUM_LOCK =1<<4
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_SCROLL_LOCK =1<<10
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_SHIFT =1<<0

The location in ExtraModifiers.

Note that this block is consistent with EventModifiers so we can just straight cast it to an integer from the UnityEvent (but with the bonus of being able to add the extra ones).

const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_SUPER =1<<11
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_SYMBOL =1<<12
const uint PowerUI.EventModifierInit.MODIFIER_SHIFT_SYMBOL_LOCK =1<<13
uint PowerUI.EventModifierInit.Modifiers

Property Documentation

bool PowerUI.EventModifierInit.altKey
getset
bool PowerUI.EventModifierInit.ctrlKey
getset
bool PowerUI.EventModifierInit.metaKey
getset
bool PowerUI.EventModifierInit.modifierAltGraph
getset
bool PowerUI.EventModifierInit.modifierCapsLock
getset
bool PowerUI.EventModifierInit.modifierFn
getset
bool PowerUI.EventModifierInit.modifierFnLock
getset
bool PowerUI.EventModifierInit.modifierHyper
getset
bool PowerUI.EventModifierInit.modifierNumLock
getset
bool PowerUI.EventModifierInit.modifierScrollLock
getset
bool PowerUI.EventModifierInit.modifierSuper
getset
bool PowerUI.EventModifierInit.modifierSymbol
getset
bool PowerUI.EventModifierInit.modifierSymbolLock
getset
bool PowerUI.EventModifierInit.shiftKey
getset