From 7bce643c718987e6ddeae4f2bc943cfa873249db Mon Sep 17 00:00:00 2001 From: gaoxin Date: Fri, 10 Sep 2021 16:31:29 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8DIO?= =?UTF-8?q?S=E4=B8=8D=E6=98=8E=E5=8E=9F=E5=9B=A0=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Common/Debug.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Common/Debug.lua b/Assets/ManagedResources/~Lua/Common/Debug.lua index 035af68838..0751fd8975 100644 --- a/Assets/ManagedResources/~Lua/Common/Debug.lua +++ b/Assets/ManagedResources/~Lua/Common/Debug.lua @@ -18,6 +18,11 @@ function LogError(str) Util.LogError(debug.traceback(str)) end end +-- print +function print(str) + Log(str) +end + -- 有颜色的log可自定义