From aca8c86e9750366d453ededb63c7b566363a8b6e Mon Sep 17 00:00:00 2001 From: ninemine <1371605831@qq.com> Date: Wed, 3 Dec 2025 09:41:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BB=8Eunity=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=9A=84=E6=84=8F=E5=A4=96=E4=BF=AE=E6=94=B9=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PublicTypes/RScriptInjectVariableGenerater.cs | 1 - RScriptContext.cs | 3 --- 2 files changed, 4 deletions(-) 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); } }