I have a lot of prefabs. And I just drag n drop from the Project window to the Editor window in Edit mode. Is there any way to detect this drag n drop?
So what is the prefab(s) object when the user drop (mouse up) the prefab to the scene and what is the position?
Yes, via object change events.
I posted this here and below you’ll find some example code:
If you only need to learn about the instantiation from within the prefab, the Reset method gets called on every component in the prefab that implements it when you first instantiate the object (see earlier post in that thread).
However Reset also gets called when the user manually resets components via Inspector, and it isn’t called when duplicating objects.