public void RemoveEntry(ReorderableList list) { targetList.RemoveAt(list.Index); SerializedProperty obj = list.GetItem(list.Index); RemoveObject(obj.objectReferenceValue); }