Reference to a specific field or property that can be set via inspector.
More...
|
| static string | ToString (Component comp, string property) |
| | Convenience function that converts the specified component + property pair into its string representation. More...
|
| |
| static bool | Convert (Type from, Type to) |
| | Whether we can convert one type to another for assignment purposes. More...
|
| |
| static bool | Convert (object value, Type to) |
| | Whether we can convert one type to another for assignment purposes. More...
|
| |
| static bool | Convert (ref object value, Type from, Type to) |
| | Whether we can convert one type to another for assignment purposes. More...
|
| |
|
| Component | target [get, set] |
| | Event delegate's target object. More...
|
| |
| string | name [get, set] |
| | Event delegate's method name. More...
|
| |
| bool | isValid [get] |
| | Whether this delegate's values have been set. More...
|
| |
| bool | isEnabled [get] |
| | Whether the target script is actually enabled. More...
|
| |
Reference to a specific field or property that can be set via inspector.
| PropertyReference.PropertyReference |
( |
| ) |
|
| PropertyReference.PropertyReference |
( |
Component |
target, |
|
|
string |
fieldName |
|
) |
| |
| void PropertyReference.Clear |
( |
| ) |
|
Clear the event delegate.
| static bool PropertyReference.Convert |
( |
Type |
from, |
|
|
Type |
to |
|
) |
| |
|
static |
Whether we can convert one type to another for assignment purposes.
| static bool PropertyReference.Convert |
( |
object |
value, |
|
|
Type |
to |
|
) |
| |
|
static |
Whether we can convert one type to another for assignment purposes.
| static bool PropertyReference.Convert |
( |
ref object |
value, |
|
|
Type |
from, |
|
|
Type |
to |
|
) |
| |
|
static |
Whether we can convert one type to another for assignment purposes.
| override bool PropertyReference.Equals |
( |
object |
obj | ) |
|
| object PropertyReference.Get |
( |
| ) |
|
Retrieve the property's value.
| override int PropertyReference.GetHashCode |
( |
| ) |
|
Used in equality operators.
| Type PropertyReference.GetPropertyType |
( |
| ) |
|
Helper function that returns the property type.
| void PropertyReference.Reset |
( |
| ) |
|
Reset the cached references.
| void PropertyReference.Set |
( |
Component |
target, |
|
|
string |
methodName |
|
) |
| |
Set the delegate callback using the target and method names.
| bool PropertyReference.Set |
( |
object |
value | ) |
|
Assign the bound property's value.
| override string PropertyReference.ToString |
( |
| ) |
|
Convert the delegate to its string representation.
| static string PropertyReference.ToString |
( |
Component |
comp, |
|
|
string |
property |
|
) |
| |
|
static |
Convenience function that converts the specified component + property pair into its string representation.
| bool PropertyReference.isEnabled |
|
get |
Whether the target script is actually enabled.
| bool PropertyReference.isValid |
|
get |
Whether this delegate's values have been set.
| string PropertyReference.name |
|
getset |
Event delegate's method name.
| Component PropertyReference.target |
|
getset |
Event delegate's target object.
The documentation for this class was generated from the following file: