From 2afbb545027568fccc85853e18af02a7c6b2929e Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Tue, 16 May 2023 16:03:51 +0800 Subject: *misc --- WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs | 4 ++-- WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs | 2 +- WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'WorldlineKeepers/Assets/Scripts/Tests') diff --git a/WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs b/WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs index b24a8c7..09f810c 100644 --- a/WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs +++ b/WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs @@ -54,11 +54,11 @@ namespace WK styled.AppendLine(); } - Debug.Log(styled.ToString()); // Unity + LogHelper.Log(styled.ToString()); // Unity Console.WriteLine(styled.ToString()); // C# List stats = CSVReader.Read(text.text); - Debug.Log(stats.Count); + LogHelper.Log(stats.Count); } diff --git a/WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs b/WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs index 54df05b..482595e 100644 --- a/WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs +++ b/WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs @@ -36,7 +36,7 @@ public class TestEvent : MonoBehaviour, INotification private void OnEventCheck(params object[] p) { - Debug.Log("msg" + p[0]); + LogHelper.Log("msg" + p[0]); } } diff --git a/WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs b/WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs index dbfa8dc..762b8e4 100644 --- a/WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs +++ b/WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs @@ -2,6 +2,7 @@ using LitJson; using System.Collections; using System.Collections.Generic; using UnityEngine; +using WK; public class SaveData { @@ -61,7 +62,7 @@ public class TestJson : MonoBehaviour //解析Json SaveDatas sd = JsonMapper.ToObject(Datas); - Debug.Log(Datas); + LogHelper.Log(Datas); } -- cgit v1.1-26-g67d0