Can Asset Bundle contain exiting application scripts ?

Hello,

I know an Asset Bundle can’t contain script that are not already in the application, but is it possible to have a prefab with scripts that are already build in the application ?

Thanks

Hey!

What do you mean by “scripts that are already built”? Do you mean “can you attach MonoBehaviour components to GameObjects, and then ship those GameObjects in the bundle”? If so, then the answer is yes. But you’re correct that you can’t add scripts directly, or new scripts that aren’t a part of the base application.