- Home /
Export GameObject to unity3d in runtime
BuildPipeline.BuildAssetBundle method works fine in UnityEditor, it exports Prefab in .unity3d format. Is there any way to export GameObject in WebPlayer at runtime?
Answer by Jeff-Kesselman · Nov 12, 2014 at 06:54 PM
No.
Build pipeline is part of the editor environment and only available there.
Yes but I doubt you will like it much.,
Your only choice is to write or find model loader/saver code and write code to turn that into a 3D mesh with all the proper normals and uv coords at run-time.
That will let you load models... but not attach scripts. To do that you will definitely have to invent your own data format to store the information about what scripts and model constitute an object.
Basically, you have to create your own input/output code and storage formats.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Raycast From Camera to Object 1 Answer
drawing a line following an object 3 Answers
What deos this mean ? need help with errors.... 1 Answer
Sending a string via email from Unity? 2 Answers