DEG-25 [Feat] 강화 세이브 연동 테스트 구현
This commit is contained in:
parent
6c7536c1ae
commit
9419f9f9b9
BIN
Assets/KJM/KJM.unity
(Stored with Git LFS)
BIN
Assets/KJM/KJM.unity
(Stored with Git LFS)
Binary file not shown.
@ -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();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 레벨 리셋 함수
|
||||
/// 테스트를 위해 퍼블릭으로 설정
|
||||
/// </summary>
|
||||
public void ResetLevel()
|
||||
{
|
||||
foreach (var stat in maxLevels.Keys)
|
||||
{
|
||||
@ -77,6 +87,7 @@ public class UpgradeStat : MonoBehaviour, ISaveable
|
||||
/// <returns></returns>
|
||||
public Save ExtractSaveData()
|
||||
{
|
||||
Debug.Log("UpgradeStat extracting save data");
|
||||
return new Save
|
||||
{
|
||||
dungeonSave = new DungeonSave
|
||||
|
Loading…
x
Reference in New Issue
Block a user