fix: 변경된 파일 디렉토리에 맞게끔 스크립트 수정
This commit is contained in:
@@ -42,7 +42,7 @@ namespace TON
|
|||||||
|
|
||||||
public bool LoadRankPawIcon(int rank, out Sprite result)
|
public bool LoadRankPawIcon(int rank, out Sprite result)
|
||||||
{
|
{
|
||||||
if (rank < 4)
|
if (rank < 4 && rank > 0)
|
||||||
{
|
{
|
||||||
// Rank 1, 2, 3일 때 실행할 코드
|
// Rank 1, 2, 3일 때 실행할 코드
|
||||||
return LoadAsset<Sprite>($"UI/RankingPaw/paw_{rank}th", out result);
|
return LoadAsset<Sprite>($"UI/RankingPaw/paw_{rank}th", out result);
|
||||||
|
|||||||
Reference in New Issue
Block a user