summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Managers/Main.cs
diff options
context:
space:
mode:
authorchai <215380520@qq.com>2023-05-12 19:00:29 +0800
committerchai <215380520@qq.com>2023-05-12 19:00:29 +0800
commit6c91f1ed6810a57da08a24dd1359f288c443dd75 (patch)
tree485096584922b7300e987af1fe9c21f262898a5f /WorldlineKeepers/Assets/Scripts/Managers/Main.cs
parent266370578135dca270729e8a70252e776ed22898 (diff)
*misc
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Managers/Main.cs')
-rw-r--r--WorldlineKeepers/Assets/Scripts/Managers/Main.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Scripts/Managers/Main.cs b/WorldlineKeepers/Assets/Scripts/Managers/Main.cs
new file mode 100644
index 0000000..976779d
--- /dev/null
+++ b/WorldlineKeepers/Assets/Scripts/Managers/Main.cs
@@ -0,0 +1,36 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using WK.Data;
+
+namespace WK
+{
+
+ public class Main : SingletonMB<Main>
+ {
+ protected override void Awake()
+ {
+ base.Awake();
+ DontDestroyOnLoad(this.gameObject);
+ }
+
+ private void Start()
+ {
+ DataManager.Instance.Load();
+
+ Debug.Log(DataManager.Instance.GetCharacterStats("health"));
+ }
+
+ private void Update()
+ {
+
+ }
+
+ private void FixedUpdate()
+ {
+
+ }
+
+ }
+
+}