unity打包批处理备份

游客

标题:unity打包批处理备份
正文:
Builder.csusing UnityEngine;using UnityEditor;using System.Collections;using System.Collections.Generic; public class Builder : Editor{ static public void Build() { string outputPath = Application.dataPath.Substring(0, Application.dataPath.Length - &quot;Assets&quot;.Length) + &quot;_Out/&quot;; BuildOptions buildOption = BuildOptions.AcceptExternalModificationsToPlayer; string[] ss = System.Environment.GetCommandLineArgs(); for (int i = 0; i &lt; ss.Length; i++) { if (ss[i] == &quot;-outputPath&quot;) { outputPath = ss[i + 1]; } } outputPath = outputPath.Replace('\\', '/');
[<<][[1]][2][3][>>]

查看评论(0)
发表评论

首页