Generic property binding drawer.
More...
|
override float | GetPropertyHeight (SerializedProperty prop, GUIContent label) |
| The property is either going to be 16 or 34 pixels tall, depending on whether the target has been set or not. More...
|
|
override void | OnGUI (Rect rect, SerializedProperty prop, GUIContent label) |
| Draw the actual property. More...
|
|
|
static List< Entry > | GetProperties (GameObject target, bool read, bool write) |
| Collect a list of usable properties and fields. More...
|
|
static string[] | GetNames (List< Entry > list, string choice, out int index) |
| Convert the specified list of delegate entries into a string array. More...
|
|
|
static Type | filter = typeof(void) |
| If you want the property drawer to limit its selection list to values of specified type, set this to something other than 'void'. More...
|
|
static bool | canConvert = true |
| Whether it's possible to convert between basic types, such as int to string. More...
|
|
static bool | mustRead = false |
| Whether the property should be readable. Used to filter the property selection list. More...
|
|
static bool | mustWrite = false |
| Whether the property should be writable. Used to filter the property selection list. More...
|
|
Generic property binding drawer.
static string [] PropertyReferenceDrawer.GetNames |
( |
List< Entry > |
list, |
|
|
string |
choice, |
|
|
out int |
index |
|
) |
| |
|
static |
Convert the specified list of delegate entries into a string array.
static List<Entry> PropertyReferenceDrawer.GetProperties |
( |
GameObject |
target, |
|
|
bool |
read, |
|
|
bool |
write |
|
) |
| |
|
static |
Collect a list of usable properties and fields.
override float PropertyReferenceDrawer.GetPropertyHeight |
( |
SerializedProperty |
prop, |
|
|
GUIContent |
label |
|
) |
| |
The property is either going to be 16 or 34 pixels tall, depending on whether the target has been set or not.
override void PropertyReferenceDrawer.OnGUI |
( |
Rect |
rect, |
|
|
SerializedProperty |
prop, |
|
|
GUIContent |
label |
|
) |
| |
Draw the actual property.
bool PropertyReferenceDrawer.canConvert = true |
|
static |
Whether it's possible to convert between basic types, such as int to string.
Type PropertyReferenceDrawer.filter = typeof(void) |
|
static |
If you want the property drawer to limit its selection list to values of specified type, set this to something other than 'void'.
bool PropertyReferenceDrawer.mustRead = false |
|
static |
Whether the property should be readable. Used to filter the property selection list.
bool PropertyReferenceDrawer.mustWrite = false |
|
static |
Whether the property should be writable. Used to filter the property selection list.
The documentation for this class was generated from the following file: