Class NeoCollectionPropertyDrawer
Inheritance
NeoCollectionPropertyDrawer
Assembly: NeoFPS.dll
Syntax
public abstract class NeoCollectionPropertyDrawer : NeoPropertyDrawer
Methods
GetArrayProperty(SerializedProperty)
Declaration
protected abstract SerializedProperty GetArrayProperty(SerializedProperty collectionProperty)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
collectionProperty |
|
Returns
| Type |
Description |
| SerializedProperty |
|
GetElementSize(SerializedProperty)
Declaration
protected abstract float GetElementSize(SerializedProperty elementProperty)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
elementProperty |
|
Returns
| Type |
Description |
| System.Single |
|
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
property |
|
| GUIContent |
label |
|
Returns
| Type |
Description |
| System.Single |
|
InspectElement(Rect, SerializedProperty)
Declaration
protected abstract void InspectElement(Rect position, SerializedProperty elementProperty)
Parameters
| Type |
Name |
Description |
| Rect |
position |
|
| SerializedProperty |
elementProperty |
|
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Type |
Name |
Description |
| Rect |
position |
|
| SerializedProperty |
property |
|
| GUIContent |
label |
|
ResetElement(SerializedProperty)
Declaration
protected abstract void ResetElement(SerializedProperty elementProperty)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
elementProperty |
|