From a240e9569985afd322bb48cbc798711e56b88360 Mon Sep 17 00:00:00 2001 From: Adriano Carlos Verona Date: Fri, 7 Sep 2018 16:13:44 -0400 Subject: [PATCH] updated read.me to reflect supported Unity version and report failure (in editor integration) as error instead of warning --- .../UnityScript2CSharp/Editor/UnityScript2CSharpRunner.cs | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EditorIntegration/Assets/UnityScript2CSharp/Editor/UnityScript2CSharpRunner.cs b/EditorIntegration/Assets/UnityScript2CSharp/Editor/UnityScript2CSharpRunner.cs index 2ac2742..1be8de3 100644 --- a/EditorIntegration/Assets/UnityScript2CSharp/Editor/UnityScript2CSharpRunner.cs +++ b/EditorIntegration/Assets/UnityScript2CSharp/Editor/UnityScript2CSharpRunner.cs @@ -223,7 +223,7 @@ public class UnityScript2CSharpRunner : UnityEditor.EditorWindow if (retCode == 0) Debug.Log("UnityScript2CSharp converter finished (You can remove '" + ConverterPackageFolder + "' if you dont plan to run the converter in ths project again).\r\n\r\n" + File.ReadAllText(logFilePath)); else - Debug.Log("UnityScript2CSharp was not able to convert your project:.\r\n\r\n" + File.ReadAllText(logFilePath)); + Debug.Error("UnityScript2CSharp was not able to convert your project:.\r\n\r\n" + File.ReadAllText(logFilePath)); var prevFilePath = logFilePath + ".prev"; diff --git a/readme.md b/readme.md index 34ee81d..71cbb7e 100644 --- a/readme.md +++ b/readme.md @@ -17,7 +17,7 @@ Before running the conversion tool: 1. Keep in mind that you'll have best results (i.e, a smoother conversion process) if your UnityScripts have *#pragma strict* applied to them. -1. Launch Unity editor (**preferably, 2018.1**) and make sure you allow APIUpdater to run and update any obsolete API usages. This is necessary to avoid compilation errors during the conversion. +1. Launch Unity editor (**2017.3 ~ 2018.1 versions are supported; 2018.1 is recommended**) and make sure you allow APIUpdater to run and update any obsolete API usages. This is necessary to avoid compilation errors during the conversion. Next step is to run the converter. For that we recomend trying the _Editor Unity Package Integration_ first: