summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Tests')
-rw-r--r--WorldlineKeepers/Assets/Scripts/Tests/TestCSV.cs4
-rw-r--r--WorldlineKeepers/Assets/Scripts/Tests/TestEvent.cs2
-rw-r--r--WorldlineKeepers/Assets/Scripts/Tests/TestJson.cs3
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);
}