diff --git a/Assets/KJM/KJM.unity b/Assets/KJM/KJM.unity index 89f759a5..c0fd141b 100644 --- a/Assets/KJM/KJM.unity +++ b/Assets/KJM/KJM.unity @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e84ea7a63d87e4d2ba09134c9ad478802df3283c7d6f8867b70b481bbc3c1017 -size 67418 +oid sha256:e4246afb41d86d6a92c3bcf1325630d7871a5e59255be61a927c5994dfc1ea81 +size 75255 diff --git a/Assets/KJM/KJM_Test/Upgrade/UpgradeStat.cs b/Assets/KJM/KJM_Test/Upgrade/UpgradeStat.cs index 597e2c63..baf47f88 100644 --- a/Assets/KJM/KJM_Test/Upgrade/UpgradeStat.cs +++ b/Assets/KJM/KJM_Test/Upgrade/UpgradeStat.cs @@ -1,3 +1,4 @@ +using System; using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -18,6 +19,15 @@ public class UpgradeStat : MonoBehaviour, ISaveable }; void Awake() + { + ResetLevel(); + } + + /// + /// 레벨 리셋 함수 + /// 테스트를 위해 퍼블릭으로 설정 + /// + public void ResetLevel() { foreach (var stat in maxLevels.Keys) { @@ -77,6 +87,7 @@ public class UpgradeStat : MonoBehaviour, ISaveable /// public Save ExtractSaveData() { + Debug.Log("UpgradeStat extracting save data"); return new Save { dungeonSave = new DungeonSave