static bool IsComponentPartOfInstance( Component comp )

Summary

Returns true if the owning GameObject is part of a prefab instance.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.