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

This script can be used to forward events from one object to another. In most cases you should use UIEventListener script instead. For example: UIEventListener.Get(gameObject).onClick += MyClickFunction; More...

Inheritance diagram for UIForwardEvents:

Public Attributes

GameObject target
 
bool onHover = false
 
bool onPress = false
 
bool onClick = false
 
bool onDoubleClick = false
 
bool onSelect = false
 
bool onDrag = false
 
bool onDrop = false
 
bool onSubmit = false
 
bool onScroll = false
 

Detailed Description

This script can be used to forward events from one object to another. In most cases you should use UIEventListener script instead. For example: UIEventListener.Get(gameObject).onClick += MyClickFunction;

Member Data Documentation

bool UIForwardEvents.onClick = false
bool UIForwardEvents.onDoubleClick = false
bool UIForwardEvents.onDrag = false
bool UIForwardEvents.onDrop = false
bool UIForwardEvents.onHover = false
bool UIForwardEvents.onPress = false
bool UIForwardEvents.onScroll = false
bool UIForwardEvents.onSelect = false
bool UIForwardEvents.onSubmit = false
GameObject UIForwardEvents.target

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