Mad Level Manager
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MadLevelManager.MadGUI.ArrayList< T > Class Template Reference

Public Member Functions

 ArrayList (SerializedProperty arrayProperty, RunnableVoid1< SerializedProperty > renderer)
 
 ArrayList (List< T > items, RunnableGeneric1< T, T > renderer)
 
bool Draw ()
 

Public Attributes

string emptyLabel = "Use the 'Add' button to add items"
 
string addLabel = "Add"
 
bool drawSeparator = false
 
bool drawOrderButtons = true
 
bool drawAddButton = true
 
bool drawRemoveButton = true
 
RunnableGeneric0< T > createFunctionGeneric
 
RunnableVoid1< SerializedProperty > createFunctionProperty
 
RunnableVoid0 beforeAdd
 
Func< T, bool > beforeRemove
 
RunnableVoid1< T > onAdd
 
RunnableVoid1< T > onRemove
 

Static Public Attributes

static readonly RunnableVoid1
< SerializedProperty > 
PropertyRenderer
 

Member Data Documentation

RunnableGeneric0<T> MadLevelManager.MadGUI.ArrayList< T >.createFunctionGeneric
Initial value:
= () => {
return Activator.CreateInstance<T>();
}
RunnableVoid1<SerializedProperty> MadLevelManager.MadGUI.ArrayList< T >.createFunctionProperty
Initial value:
= (element) => {
var enumerator = element.GetEnumerator();
while (enumerator.MoveNext()) {
var el = enumerator.Current as SerializedProperty;
if (el.type == "ColorRGBA") {
el.colorValue = Color.black;
}
}
}
readonly RunnableVoid1<SerializedProperty> MadLevelManager.MadGUI.ArrayList< T >.PropertyRenderer
static
Initial value:
= (prop) =>
{
MadGUI.PropertyField(prop, "");
}

The documentation for this class was generated from the following file: