소스 검색

调试自动打包

LiuQilin 8 년 전
부모
커밋
16b2cc5a5a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Assets/Script/Editor/PostProcessor.cs

+ 5 - 0
Assets/Script/Editor/PostProcessor.cs

@@ -117,6 +117,11 @@ public class NewBehaviourScript
 
         StreamWriter streamWriter = new StreamWriter(scriptPath);
 
+        for (int i = 0; i < lines.Count; i++)
+        {
+            streamWriter.WriteLine(lines[i]);
+        }
+
         streamWriter.Close();