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

Delegates can have parameters, and this class makes it possible to save references to properties that can then be passed as function arguments, such as transform.position or widget.color. More...

Public Member Functions

 Parameter ()
 
 Parameter (Object obj, string field)
 

Public Attributes

Object obj
 
string field
 
System.Type expectedType = typeof(void)
 
bool cached = false
 
PropertyInfo propInfo
 
FieldInfo fieldInfo
 

Properties

object value [get]
 Return the property's current value. More...
 
System.Type type [get]
 Parameter type – a convenience function. More...
 

Detailed Description

Delegates can have parameters, and this class makes it possible to save references to properties that can then be passed as function arguments, such as transform.position or widget.color.

Constructor & Destructor Documentation

EventDelegate.Parameter.Parameter ( )
EventDelegate.Parameter.Parameter ( Object  obj,
string  field 
)

Member Data Documentation

bool EventDelegate.Parameter.cached = false
System.Type EventDelegate.Parameter.expectedType = typeof(void)
string EventDelegate.Parameter.field
FieldInfo EventDelegate.Parameter.fieldInfo
Object EventDelegate.Parameter.obj
PropertyInfo EventDelegate.Parameter.propInfo

Property Documentation

System.Type EventDelegate.Parameter.type
get

Parameter type – a convenience function.

object EventDelegate.Parameter.value
get

Return the property's current value.


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