private void CreateListData(InspectableProperty property) { var root = property.GetRootPath(); // Try to find the grand parent in ReorderableListData var data = listIndex.Find(listData => listData.Parent.Equals(root)); if (data == null) { data = new ReorderableListData(root); listIndex.Add(data); } data.AddProperty(property); if (property.HasAttribute <ReorderableAttribute>()) { var reorderableAttr = property.GetAttributes <ReorderableAttribute>()[0] as ReorderableAttribute; if (reorderableAttr != null) { HandleReorderableOptions(reorderableAttr, property, data); } } if (property.HasAttribute <BackgroundColorAttribute>()) { var bgColorAttr = property.GetAttributes <BackgroundColorAttribute>()[0] as BackgroundColorAttribute; if (bgColorAttr != null) { HandleBackgroundColorOptions(bgColorAttr, property, data); } } }