通过命令行将Unity项目导出为Android Studio项目

0 人关注

我有一个unity3D项目,我想构建到安卓目标。 但如何在命令行参数中指定 "导出项目 "标志? 有谁知道?

My build script:

BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions();
buildPlayerOptions.scenes = scenes;
buildPlayerOptions.locationPathName = "AndroidBuild";
buildPlayerOptions.target = BuildTarget.Android;
buildPlayerOptions.options = BuildOptions.None;
BuildPipeline.BuildPlayer(buildPlayerOptions);