Inheritance
MetadataCollectionAdaptor
public abstract class MetadataCollectionAdaptor : IReorderableListAdaptor
Constructors
Declaration
protected MetadataCollectionAdaptor(Metadata metadata, Inspector parentInspector)
Parameters
Properties
Declaration
public abstract int Count { get; }
Property Value
Implements
Declaration
protected Inspector parentInspector { get; }
Property Value
Methods
Declaration
public abstract void Add()
Implements
Declaration
public virtual void BeginGUI()
Implements
Declaration
public abstract bool CanDrag(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
Declaration
public abstract bool CanRemove(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
Declaration
public abstract void Clear()
Implements
Declaration
public abstract void DrawItem(Rect position, int index)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
index |
|
Implements
Declaration
public virtual void DrawItemBackground(Rect position, int index)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Int32 |
index |
|
Implements
Declaration
public abstract void Duplicate(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Implements
Declaration
public virtual void EndGUI()
Implements
Field(Rect, GUIContent)
Declaration
public bool Field(Rect position, GUIContent label)
Parameters
Returns
Declaration
public float GetAdaptiveWidth()
Returns
GetHeight(Single, GUIContent)
Declaration
public float GetHeight(float width, GUIContent label)
Parameters
Returns
Declaration
public abstract float GetItemAdaptiveWidth(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Declaration
public float GetItemHeight(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Implements
Declaration
public abstract float GetItemHeight(float width, int index)
Parameters
Returns
GetTitleHeight(Single, GUIContent)
Declaration
protected virtual float GetTitleHeight(float width, GUIContent title)
Parameters
Returns
Declaration
public abstract void Insert(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Implements
Declaration
public abstract void Move(int sourceIndex, int destIndex)
Parameters
Type |
Name |
Description |
Int32 |
sourceIndex |
|
Int32 |
destIndex |
|
Implements
OnTitleGUI(Rect, GUIContent)
Declaration
protected virtual void OnTitleGUI(Rect position, GUIContent title)
Parameters
Declaration
public abstract void Remove(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Implements
Extension Methods