Hide Reference Object Picker Attribute特性:隐藏非Unity序列化引用类型属性上方显示的多态对象选择器。
![7643202-e8f6fd21f43a51e1.png](https://i-blog.csdnimg.cn/blog_migrate/66923d8e21fd1783e98a68874f853ad5.png)
using Sirenix.OdinInspector;
using System.Collections.Generic;
using UnityEngine;
public class HideReferenceObjectPickerAttributeExample : MonoBehaviour
{
[Title("Hidden Object Pickers")]
[ShowInInspector]
[HideReferenceObjectPicker]
public MyCustomReferenceType OdinSerializedProperty1 = new MyCustomReferenceType();
[ShowInInspector]
[HideReferenceObjectPicker]
public MyCustomReferenceType OdinSerializedProperty2 = new MyCustomReferenceType();
[ShowInInspector]
[PropertySpace(4