Y GameObject made is made from X Prefab

Is there any simple way to determine if a GameObject was created from a specific prefab? There must be some relationship due to how you can change a prefab and populate it down to objects made from that prefab.

What exactly are you trying to do? Couldn’t you just give all of your prefabs unique tags? Or do you mean the child objects of a prefab?

Well, this is part of a very big quest system. One of the default quest types is to interact with something. The quest are prefabs (thats where all the information is stored) which means I cant have an object in the scene as a field in the script on that prefab. I need a logical connection between objects in the scene and the object the quest is looking for.

What I was hoping was that there is a simple way to tell if an object is from a specific prefab, so I could just make a prefab for those objects, create the object in the scene normally, and use the reference to the prefab as my field in the quest.

I found how to do this, but it appears to be an Editor only functionality.

I think I’m going to have to think in a new direction

Yeah, I had to think about it abit backwards, my scene objects can just have a list of the quests there interested in, and fire an event to the quest when they are manipulated.