- Home /
Share a script between prefabs - like inheritance
I have 3 prefabs that I can copied the same script to. When I change the original script I would like all three prefabs to have the updated information.
Is there a way to do this?
Comment
Best Answer
Answer by kennypu · Jun 27, 2011 at 09:00 AM
Yes, you can include that script in inspector (drag and drop the script onto the prefab's inspector), and now you just have to edit that one script and changes will be applied to all 3.
Assu$$anonymous$$g, of course, that the one script is also in one file. :)