- Home /
New scene after build
I ve seen this: http://unity3d.com/support/documentation/ScriptReference/BuildPipeline.BuildPlayer.html
I thinking about to use this, but my doubt is: Would it work after the built game?
I mean, I want to publish new tracks/maps/scenes to my distributed game. Could i do it with "BuildPipeline.BuildPlayer" ???
Thank you all! :D
Answer by Bunny83 · Mar 10, 2011 at 09:31 PM
I think you can use it with the parameter BuildOptions.BuildAdditionalStreamedScenes to create asset bundles that can be loaded dynamically by your game. But BuildPipeline.BuildPlayer is an editor class and can only be used in the Unity editor. You can create an editor script that allows you to build only a special level as own asset bundle which can be loaded by your game using www.
I've never used assetbundles so i can't tell you more about that but that's how it should work. Maybe we get another answer from a "asset bundle user".