디버그 기능 제거
This commit is contained in:
@@ -39,4 +39,14 @@ public class GameManager : MonoBehaviour
|
||||
Debug.Log($"[GameManager] 캐릭터 정보 보존 세이브 완료: {playerName} ({playerGeneration}대) | HP: {playerHp}/{playerMaxHp}");
|
||||
}
|
||||
}
|
||||
|
||||
// 플레이어 보존 세션을 리셋하는 메서드 (사망 시 호출)
|
||||
public void ClearPlayerData()
|
||||
{
|
||||
playerName = "";
|
||||
playerGeneration = 1;
|
||||
playerHp = 5;
|
||||
playerMaxHp = 5;
|
||||
Debug.Log("[GameManager] 보존된 이전 플레이어 스탯 데이터를 비웠습니다. (신규 세대 생성 준비 완료)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user