[Style] TODO확인 후 삭제, 라인 맞춤

This commit is contained in:
HaeinLEE 2025-03-27 15:58:32 +09:00
parent 1821503f16
commit 7d6119a2af
2 changed files with 3 additions and 7 deletions

View File

@ -204,7 +204,6 @@ public class UserManager : Singleton<UserManager>
Score = scoreInfoResult.score; Score = scoreInfoResult.score;
Win = scoreInfoResult.win; Win = scoreInfoResult.win;
Lose = scoreInfoResult.lose; Lose = scoreInfoResult.lose;
//TODO: user매니저에서 바로 프리팹에 업데이트 해도 될까요?
UpdateUserScoreInfoToPlayerPrefs(); UpdateUserScoreInfoToPlayerPrefs();
} }

View File

@ -70,14 +70,11 @@ public class RatingPanelController : PanelController
{ {
GameManager.Instance.panelManager.OpenRatingEffectPanel(-1); GameManager.Instance.panelManager.OpenRatingEffectPanel(-1);
} }
}, () => { }); }, () => { });
break; break;
} }
} }
/// <summary> /// <summary>
/// 텍스트 초기화, 승급포인트 계산 /// 텍스트 초기화, 승급포인트 계산
/// </summary> /// </summary>
@ -107,9 +104,6 @@ public class RatingPanelController : PanelController
_ratingPointsController = tenPointsIndicatorGameObject.GetComponent<RatingPointsController>(); _ratingPointsController = tenPointsIndicatorGameObject.GetComponent<RatingPointsController>();
} }
string win = _gameResult == Enums.GameResult.Win ? "승리" : "패배";
string get = _gameResult == Enums.GameResult.Win ? "얻었습니다." : "잃었습니다.";
// 게임 전 스코어로 초기화 // 게임 전 스코어로 초기화
NetworkManager.Instance.GetInfo((userInfo) => NetworkManager.Instance.GetInfo((userInfo) =>
{ {
@ -155,6 +149,9 @@ public class RatingPanelController : PanelController
}, () => }, () =>
{ }); { });
string win = _gameResult == Enums.GameResult.Win ? "승리" : "패배";
string get = _gameResult == Enums.GameResult.Win ? "얻었습니다." : "잃었습니다.";
if(_gameResult == Enums.GameResult.Draw) if(_gameResult == Enums.GameResult.Draw)
{ {
getPointsText.text = "무승부입니다."; getPointsText.text = "무승부입니다.";