Hide Reference Object Picker Attribute

Hides the polymorphic object-picker shown above the properties of non-Unity serialized reference types.

[Title("Hidden Object Pickers")] [HideReferenceObjectPicker] public MyCustomReferenceType OdinSerializedProperty1 = new MyCustomReferenceType(); [HideReferenceObjectPicker] public MyCustomReferenceType OdinSerializedProperty2 = new MyCustomReferenceType(); [Title("Shown Object Pickers")] public MyCustomReferenceType OdinSerializedProperty3 = new MyCustomReferenceType(); public MyCustomReferenceType OdinSerializedProperty4 = new MyCustomReferenceType(); // Protip: You can also put the HideInInspector attribute on the class definition itself to hide it globally for all members. // [HideReferenceObjectPicker] public class MyCustomReferenceType { public int A; public int B; public int C; }