Hide In Prefab Instances Attribute:属性所在的组件在预制体上,且预制体在为instance(在Hierarchy中)时,隐藏属性
using Sirenix.OdinInspector;
using UnityEngine;
public class HideInPrefabInstancesAttributeExample : MonoBehaviour
{
[HideInPrefabInstances]
public GameObject HiddenInPrefabInstances;
}