Class BaseReorderableList
Inheritance
BaseReorderableList
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public abstract class BaseReorderableList
Constructors
BaseReorderableList(SerializedProperty)
Declaration
public BaseReorderableList(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Properties
heading
Declaration
protected abstract string heading { get; }
Property Value
| Type |
Description |
| System.String |
|
serializedProperty
Declaration
public SerializedProperty serializedProperty { get; }
Property Value
| Type |
Description |
| SerializedProperty |
|
Methods
DoLayoutList()
Declaration
public virtual void DoLayoutList()
DrawListElement(Rect, Int32)
Declaration
protected abstract void DrawListElement(Rect line1, int index)
Parameters
| Type |
Name |
Description |
| Rect |
line1 |
|
| System.Int32 |
index |
|
GetListElement(Int32)
Declaration
protected SerializedProperty GetListElement(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| SerializedProperty |
|
GetNumLines(Int32)
Declaration
protected virtual int GetNumLines(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Int32 |
|
OnAdded(ReorderableList)
Declaration
protected virtual void OnAdded(ReorderableList list)
Parameters
| Type |
Name |
Description |
| ReorderableList |
list |
|
OnChanged(ReorderableList)
Declaration
protected virtual void OnChanged(ReorderableList list)
Parameters
| Type |
Name |
Description |
| ReorderableList |
list |
|
OnRemoved(ReorderableList)
Declaration
protected virtual void OnRemoved(ReorderableList list)
Parameters
| Type |
Name |
Description |
| ReorderableList |
list |
|
OnReordered(ReorderableList, Int32, Int32)
Declaration
protected virtual void OnReordered(ReorderableList list, int oldIndex, int newIndex)
Parameters
| Type |
Name |
Description |
| ReorderableList |
list |
|
| System.Int32 |
oldIndex |
|
| System.Int32 |
newIndex |
|