diff --git a/PublicTypes/RScriptInjectVariableGenerater.cs b/PublicTypes/RScriptInjectVariableGenerater.cs index 7d0e349..0538d32 100644 --- a/PublicTypes/RScriptInjectVariableGenerater.cs +++ b/PublicTypes/RScriptInjectVariableGenerater.cs @@ -5,7 +5,6 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Text; -using UnityEditor; namespace Convention.RScript.Variable { diff --git a/RScriptContext.cs b/RScriptContext.cs index 78429a9..b90ea34 100644 --- a/RScriptContext.cs +++ b/RScriptContext.cs @@ -6,7 +6,6 @@ using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; -using UnityEngine; using static Convention.RScript.RScriptContext; namespace Convention.RScript @@ -284,12 +283,10 @@ namespace Convention.RScript } catch (RScriptException) { - Debug.LogError($"current sentence: {sentence}"); throw; } catch (Exception ex) { - Debug.LogError($"current sentence: {sentence}"); throw new RScriptRuntimeException($"Runtime error: {ex.Message}", CurrentRuntimePointer, ex); } }