Hi all, I’m trying to find an event to listen to when an override, or any override, has been reverted using the Overrides dropdown on a Prefab.
- My prefab has some overrides
- I use the Overrides dropdown and choose Revert All
- I want a script on it to be notified
I can figure out which overrides have been removed… but I need at least an event to work from.
PrefabUtility.prefabInstanceUpdated and it’s no good, as it only triggers on Apply. Revert doesn’t update an instance, it just removes the overrides from it.