private void OnEnable() { if (component == null) { component = target as DropDownSample; } reorderableList = new ReorderableList( serializedObject.FindProperty("humans"), new NativeFunctionOptions() ); reorderableList.AddDrawDropDownCallback( DropDownSample.bloodTypeCanditates, (selected) => component.Humans.Add(new DropDownSample.Human(selected)) ); }