diff options
author | chai <215380520@qq.com> | 2023-05-16 16:03:51 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-05-16 16:03:51 +0800 |
commit | 2afbb545027568fccc85853e18af02a7c6b2929e (patch) | |
tree | 3827873af133fe9f81041e4babbfd0d54a53f9d1 /WorldlineKeepers/Assets/Scripts/Tests | |
parent | 88f739ea0f3440152082f34707e79328a71aabed (diff) |
*misc
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Tests')
-rw-r--r-- | WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs | 4 | ||||
-rw-r--r-- | WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs | 2 | ||||
-rw-r--r-- | WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs | 3 |
3 files changed, 5 insertions, 4 deletions
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<CharacterStatsMetadata> stats = CSVReader.Read<CharacterStatsMetadata>(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<SaveDatas>(Datas); - Debug.Log(Datas); + LogHelper.Log(Datas); } |