How to know that user has opened a prefab(and what prefab) from editor script?

I would like to know a list of prefabs that Unity user opens. How can I do this?

I think this is the API you seek:

https://docs.unity3d.com/ScriptReference/Experimental.SceneManagement.PrefabStage.html

caveat: I have not used it personally, but it smells like what you want.

2 Likes