- Home /
Using asset bundles as DLC content (additional maps and levels)?
First of all, thank you for reading this and excuse my ignorance (I haven't used asset bundles other than testing them out)
So, I'm in the brainstorming phase of a new project (haven't started it yet xD), long story short, a prison escape game, I'm thinking of adding functionality to download new maps (made by the developer or possibly a user who has a level editor)
I got to the conclusion that I need to use asset bundles, and download them through the client's pc, but I got confuse because as far as I know, asset bundles can't include scripts. Is there a way around it?
Are the asset bundles even suitable for the kind of functionality I need?
Can anyone point me in the right direction to how I can use them?
Have you seen this? It's not necessarily the most ideal situation, but it could work. You'd just need to compile the scripts outside of Unity, then use reflection within Unity to use them. However, you would need to know the scripts before-hand. That could be a problem.
The only other situation that I could see that would work is to have all functionality for your games built in. All methods and functions would need to be included in the build. Then, you can simply come up with an X$$anonymous$$L document for your new levels to perform the necessary actions on objects. I don't really see any other way...