Enable In Attribute

Enables a member based on which type of a prefab and instance it is in.

public string InstanceInScene = "Instances of prefabs in scenes";

public string InstanceInPrefab = "Instances of prefabs nested inside other prefabs";

public string Regular = "Regular prefab assets";

public string Variant = "Prefab variant assets";

public string NonPrefabInstance = "Non-prefab component or gameobject instances in scenes";

public string PrefabInstance = "Instances of regular prefabs, and prefab variants in scenes or nested in other prefabs";

public string PrefabAsset = "Prefab assets and prefab variant assets";

public string PrefabInstanceAndNonPrefabInstance = "Prefab Instances, as well as non-prefab instances";