- Home /
Exporting to Eclipse project from script
I've been trying to get Unity to export to Eclipse Project ('Google Android Project') from script (or command-line), but can't find anything that does this. BuildSettings, EditorBuildSettings, BuildPlayer....
I need to be able to execute builds from command-line arguments, and up until this point have been running Unity.exe in batch-mode to compile the Android project to APK. But now we've got a new SDK that requires post-build integration into the Eclipse project.
Is there any way to do this?
Answer by Jared-Mess · Dec 02, 2013 at 11:48 PM
Try using BuildOptions.AcceptExternalModificationsToPlayer. This should create a new Eclipse Project.
BuildPipeline.BuildPlayer(LevelArray, "AndroidBuild", BuildTarget.Android, BuildOptions.AcceptExternalModificationsToPlayer);
Thanks! I figured this out eventually but yeah this answer is spot on.
Your answer
Follow this Question
Related Questions
is there a unity plugin for webtrends? 0 Answers
I want to use the score I saved in unity in Eclipse to publish to the user's Facebook Feed 0 Answers
Export from Unity for Android Games? 1 Answer
Exporting Unity 4 project to Eclipse 1 Answer
how to export unity project to the eclipse program 2 Answers