From 88a9a6303ab0ddcbe2c58098f0b31a943a1e0710 Mon Sep 17 00:00:00 2001 From: Jay <96156114+jaydev00a@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:29:46 +0900 Subject: [PATCH] =?UTF-8?q?[UPDATE]=20UserData=20PlayerPrefs=20=EC=A0=80?= =?UTF-8?q?=EC=9E=A5=20=ED=95=AD=EB=AA=A9=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Script/Main/UserManager.cs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Assets/Script/Main/UserManager.cs b/Assets/Script/Main/UserManager.cs index f56c3c6..3398ba1 100644 --- a/Assets/Script/Main/UserManager.cs +++ b/Assets/Script/Main/UserManager.cs @@ -35,16 +35,15 @@ public class UserManager : Singleton Debug.Log("유저 데이터가 비어있습니다"); return; } - Debug.Log("유저정보"+userData.nickname); UserId = userData.id; Email = userData.email; Nickname = userData.nickname; Rating = userData.rating; - Score = userData.score; + // Score = userData.score; ImageIndex = userData.imageIndex; - Win = userData.win; - Lose = userData.lose; + // Win = userData.win; + // Lose = userData.lose; // 유저 정보를 PlayerPrefs에 저장 SaveUserInfoToPlayerPrefs(); @@ -58,11 +57,11 @@ public class UserManager : Singleton id = UserId, email = Email, nickname = Nickname, - rating = Rating, - score = Score, + // rating = Rating, + // score = Score, imageIndex = ImageIndex, - win = Win, - lose = Lose + // win = Win, + // lose = Lose }; string json = JsonUtility.ToJson(userInfo);