From 9419f9f9b9392ec8b2009a4c86e476a164227b76 Mon Sep 17 00:00:00 2001
From: 99jamin <99jamin56@gmail.com>
Date: Fri, 2 May 2025 14:34:10 +0900
Subject: [PATCH] =?UTF-8?q?DEG-25=20[Feat]=20=EA=B0=95=ED=99=94=20?=
=?UTF-8?q?=EC=84=B8=EC=9D=B4=EB=B8=8C=20=EC=97=B0=EB=8F=99=20=ED=85=8C?=
=?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EA=B5=AC=ED=98=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Assets/KJM/KJM.unity | 4 ++--
Assets/KJM/KJM_Test/Upgrade/UpgradeStat.cs | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
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