예제 #1
0
        public static EditorBuildConfiguration CreateConfiguration(string outputFileName, BuildTarget buildTarget, BuildTargetGroup targetGroup)
        {
            var argumentsProvider = new ArgumentsProvider(new[] {
                $"{BuildArguments.BuildOutputFolderKey}:Builds",
                $"{BuildArguments.BuildOutputNameKey}:{outputFileName}",
            });

            var buildConfiguration = new EditorBuildConfiguration(
                argumentsProvider,
                new BuildParameters(buildTarget, targetGroup, argumentsProvider));

            return(buildConfiguration);
        }