mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 00:08:53 -05:00
Fix: Syntax bug
This commit is contained in:
parent
e170451f6a
commit
9cfd54438b
@ -27,14 +27,15 @@ namespace Alchemy.Editor.Elements
|
||||
var e = new AlchemyPropertyField(arrayElement, property.GetPropertyType(true), depth + 1, true);
|
||||
element.Add(e);
|
||||
element.Bind(arrayElement.serializedObject);
|
||||
if (events != null) {
|
||||
e.TrackPropertyValue(arrayElement, x =>
|
||||
{
|
||||
ReflectionHelper.Invoke(parentObj, events.OnItemChanged, new object[] { index, x.GetValue<object>() });
|
||||
});
|
||||
if(events != null)
|
||||
{
|
||||
e.TrackPropertyValue(arrayElement,
|
||||
x =>
|
||||
{
|
||||
ReflectionHelper.Invoke(parentObj, events.OnItemChanged,
|
||||
new object[] { index, x.GetValue<object>() });
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
listView.unbindItem = (element, index) =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user