From d26655207314a414d635acc66a32b056c2766a24 Mon Sep 17 00:00:00 2001 From: "aube.lee" Date: Mon, 17 Mar 2025 01:08:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B3=80=EA=B2=BD=EB=90=9C=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EB=94=94=EB=A0=89=ED=86=A0=EB=A6=AC=EC=97=90=20?= =?UTF-8?q?=EB=A7=9E=EA=B2=8C=EB=81=94=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Gameton/Scripts/Common/AssetManager.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Gameton-06/Assets/Gameton/Scripts/Common/AssetManager.cs b/Gameton-06/Assets/Gameton/Scripts/Common/AssetManager.cs index aeae75d9..c57afa9b 100644 --- a/Gameton-06/Assets/Gameton/Scripts/Common/AssetManager.cs +++ b/Gameton-06/Assets/Gameton/Scripts/Common/AssetManager.cs @@ -26,7 +26,7 @@ namespace TON public bool LoadSkillIcon(string skillId, out Sprite result) { string id = skillId.ToLower(); - return LoadAsset($"UI/Skill Icon/skill_icon_{id}", out result); + return LoadAsset($"UI/SkillIcon/skill_icon_{id}", out result); } public bool LoadPlayerIcon(string playerType, FaceStatue status, out Sprite result) @@ -42,31 +42,31 @@ namespace TON public bool LoadRankPawIcon(int rank, out Sprite result) { - if (rank < 4) + if (rank < 4 && rank > 0) { // Rank 1, 2, 3일 때 실행할 코드 - return LoadAsset($"UI/Ranking Paw/paw_{rank}th", out result); + return LoadAsset($"UI/RankingPaw/paw_{rank}th", out result); } else if (rank >= 4 && rank <= 20) { // Rank 4~20일 때 실행할 코드 - return LoadAsset($"UI/Ranking Paw/paw_4th", out result); + return LoadAsset($"UI/RankingPaw/paw_4th", out result); } else if (rank >= 21 && rank <= 50) { // Rank 21~50일 때 실행할 코드 - return LoadAsset($"UI/Ranking Paw/paw_5th", out result); + return LoadAsset($"UI/RankingPaw/paw_5th", out result); } else { // Rank 51 이상일 때 실행할 코드 - return LoadAsset($"UI/Ranking Paw/paw_6th", out result); + return LoadAsset($"UI/RankingPaw/paw_6th", out result); } } public bool LoadMyRankBoxImage(out Sprite result) { - return LoadAsset($"UI/Ranking Paw/my_rank_box", out result); + return LoadAsset($"UI/RankingPaw/my_rank_box", out result); } public bool LoadIntroBackgroundImage(int index, out Sprite result)